SodaEditorHelpers

class SodaEditorHelpers

Static Properties

Static Methods

void DisplayInspectorSubtitle(string text, string rightSideText)

Displays a subtitle in the inspector. Used for ScriptableObjects.

void DisplayValueField(Rect position, GUIContent label, object value, Type type)

Displays a field for a multitude of possible object types. Comparable to EditorGUI.PropertyField, but without the need to supply a serialized property.

void DisplayExpandablePropertyField(SerializedProperty property, GUIContent label)

Displays an expandable property field using EditorGUI. Used as a replacement for EditorGUILayout.PropertyField(property, label, true) as it didn't seem to work.

int GetNumberOfPropertyChildren(SerializedProperty property)

TextAsset CreateTextFile(string content, string filename)

Creates a text file within the application's datapath.

void DisplayAllPropertiesExcept(thisSerializedProperty iterator, SerializedProperty property)

void DisplayAllPropertiesExcept(thisSerializedProperty iterator, SerializedProperty propertyA, SerializedProperty propertyB)

void DisplayAllPropertiesExcept(thisSerializedProperty iterator, SerializedProperty propertyA, SerializedProperty propertyB, SerializedProperty propertyC)

void DisplayAllPropertiesExcept(thisSerializedProperty iterator, SerializedProperty propertyA, SerializedProperty propertyB, SerializedProperty propertyC, SerializedProperty propertyD)

void DisplayAllPropertiesExcept(thisSerializedObject serializedObject, bool showScriptField, SerializedProperty property)

void DisplayAllPropertiesExcept(thisSerializedObject serializedObject, bool showScriptField, SerializedProperty propertyA, SerializedProperty propertyB)

void DisplayAllPropertiesExcept(thisSerializedObject serializedObject, bool showScriptField, SerializedProperty propertyA, SerializedProperty propertyB, SerializedProperty propertyC)

void DisplayAllPropertiesExcept(thisSerializedObject serializedObject, bool showScriptField, SerializedProperty propertyA, SerializedProperty propertyB, SerializedProperty propertyC, SerializedProperty propertyD)

string ReplaceSubtitleTypeName(string name)

EditorWindow FindFirstWindowWithTypeName(string name)

EditorWindow FindHierarchyWindow()

string TryGetActiveFolderPath()