maint: updated odin inspector to 4.0.1.2

This commit is contained in:
Chris
2026-01-06 18:14:07 -05:00
parent 4c34207707
commit 796dbca5d8
51 changed files with 358 additions and 251 deletions

View File

@@ -6931,6 +6931,24 @@
<param name="messageBoxStyle">The style of the message box.</param>
<param name="wide">If set to <c>true</c> the message box will be wide.</param>
</member>
<member name="M:Sirenix.Utilities.Editor.SirenixEditorGUI.MessageBox(System.String,UnityEditor.MessageType,System.Int32)">
<summary>
Draws a message box with a configurable font size.
</summary>
<param name="message">The message.</param>
<param name="messageType">Type of the message.</param>
<param name="fontSize">The font size of the text. This also affects the size of the icon.</param>
</member>
<member name="M:Sirenix.Utilities.Editor.SirenixEditorGUI.MessageBox(System.String,Sirenix.OdinInspector.SdfIconType,UnityEngine.Color,System.Int32,System.Action{UnityEditor.GenericMenu})">
<summary>
Draws a message box with a configurable font size.
</summary>
<param name="message">The message.</param>
<param name="icon">The SDF icon to draw next to the message.</param>
<param name="iconColor">The color of the SDF icon.</param>
<param name="fontSize">The font size of the text. This also affects the size of the icon.</param>
<param name="onContextClick">The action to be invoked if the message box is right-clicked.</param>
</member>
<member name="M:Sirenix.Utilities.Editor.SirenixEditorGUI.DetailedMessageBox(System.String,System.String,UnityEditor.MessageType,System.Boolean,System.Boolean)">
<summary>
Draws a message box that can be expanded to show more details.
@@ -6942,6 +6960,17 @@
<param name="wide">If set to <c>true</c> the message box will be wide.</param>
<returns>State of isFolded.</returns>
</member>
<member name="M:Sirenix.Utilities.Editor.SirenixEditorGUI.DetailedMessageBox(System.String,System.String,UnityEditor.MessageType,System.Boolean,System.Int32)">
<summary>
Draws a message box that can be expanded to show more details.
</summary>
<param name="message">The message of the message box.</param>
<param name="detailedMessage">The detailed message of the message box.</param>
<param name="messageType">Type of the message box.</param>
<param name="hideDetailedMessage">If set to <c>true</c> the detailed message is hidden.</param>
<param name="fontSize">The font size of the text. This also affects the size of the icon.</param>
<returns>State of isFolded.</returns>
</member>
<member name="M:Sirenix.Utilities.Editor.SirenixEditorGUI.IconMessageBox(System.String,Sirenix.OdinInspector.SdfIconType,System.Nullable{UnityEngine.Color},UnityEngine.GUIStyle,System.Action{UnityEditor.GenericMenu})">
<summary>
Draws a message box with the specified icon.
@@ -7886,7 +7915,7 @@
Creates a rect that can be grabbed and pulled to change a value up or down.
</summary>
<param name="rect">The grabbable rect.</param>
<param name="id">The control ID for the sliding.</param>
<param name="controlId">The control ID for the sliding.</param>
<param name="t">The current value.</param>
<returns>
The current value.
@@ -9381,6 +9410,20 @@
Indicates whether the UnitInfo should use the <c>multiplier</c> or the <c>ConvertFromBase</c> and <c>ConvertToBase</c> methods.
</summary>
</member>
<member name="T:Sirenix.Utilities.Editor.UnityShims">
<summary>
<para>
This is an internal class that is used solely in pre-built assembly versions of Odin, not in source distributions.
Some Unity API's differ in different versions of the engine, like the Color, Color32, Rect and Vector2/3/4 structs.
This class contains replacements or reimplementations of these Unity APIs. This class should not be used directly.
</para>
<para>
At build time, Odin's assemblies are IL post-processed to redirect all relevant calls with shims into the implementations
here instead of using the Unity versions of these APIs, such that Odin's pre-built assemblies work across a wide
range of Unity versions.
</para>
</summary>
</member>
<member name="T:Sirenix.Utilities.AssemblyTypeFlags">
<summary>
AssemblyTypeFlags is a bitmask used to filter types and assemblies related to Unity.