SerializedPropertySerializedProperty and SerializedObject are classes for editing properties on objects in a completely generic way that automatically handles undo and styling UI for prefabs.
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script. SerializedProperty is used in conjunction with SerializedObject and Editor classes. See Also: SerializedObject class, Editor class Variables
Functions
Class Functions
|
