InspectorUIUtility.DrawScriptableFoldout<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws the contents of a scriptable inline inside a foldout. Depending on if there's an actual scriptable linked, the values will be greyed out or editable in case the scriptable is created inside the serialized object.
public:
generic <typename T>
where T : UnityEngine::ScriptableObject static bool DrawScriptableFoldout(UnityEditor::SerializedProperty ^ scriptable, System::String ^ description, bool isExpanded);
public static bool DrawScriptableFoldout<T> (UnityEditor.SerializedProperty scriptable, string description, bool isExpanded) where T : UnityEngine.ScriptableObject;
static member DrawScriptableFoldout : UnityEditor.SerializedProperty * string * bool -> bool (requires 'T :> UnityEngine.ScriptableObject)
Public Shared Function DrawScriptableFoldout(Of T As ScriptableObject) (scriptable As SerializedProperty, description As String, isExpanded As Boolean) As Boolean
Type Parameters
- T
Parameters
- scriptable
- UnityEditor.SerializedProperty
- description
- String
- isExpanded
- Boolean