Class SerializedProperty
Inheritance
SerializedProperty
Assembly: UnityEditor.dll
Syntax
public class SerializedProperty : IDisposable
Properties
|
Improve this Doc
View Source
animationCurveValue
Declaration
public AnimationCurve animationCurveValue { get; set; }
Property Value
|
Improve this Doc
View Source
arrayElementType
Declaration
public string arrayElementType { get; }
Property Value
|
Improve this Doc
View Source
arraySize
Declaration
public int arraySize { get; set; }
Property Value
|
Improve this Doc
View Source
boolValue
Declaration
public bool boolValue { get; set; }
Property Value
|
Improve this Doc
View Source
boundsIntValue
Declaration
public BoundsInt boundsIntValue { get; set; }
Property Value
|
Improve this Doc
View Source
boundsValue
Declaration
public Bounds boundsValue { get; set; }
Property Value
|
Improve this Doc
View Source
colorValue
Declaration
public Color colorValue { get; set; }
Property Value
|
Improve this Doc
View Source
depth
Declaration
public int depth { get; }
Property Value
|
Improve this Doc
View Source
displayName
Declaration
public string displayName { get; }
Property Value
|
Improve this Doc
View Source
doubleValue
Declaration
public double doubleValue { get; set; }
Property Value
|
Improve this Doc
View Source
editable
Declaration
public bool editable { get; }
Property Value
|
Improve this Doc
View Source
enumDisplayNames
Declaration
public string[] enumDisplayNames { get; }
Property Value
|
Improve this Doc
View Source
enumNames
Declaration
public string[] enumNames { get; }
Property Value
|
Improve this Doc
View Source
enumValueIndex
Declaration
public int enumValueIndex { get; set; }
Property Value
|
Improve this Doc
View Source
exposedReferenceValue
Declaration
public Object exposedReferenceValue { get; set; }
Property Value
|
Improve this Doc
View Source
fixedBufferSize
Declaration
public int fixedBufferSize { get; }
Property Value
|
Improve this Doc
View Source
floatValue
Declaration
public float floatValue { get; set; }
Property Value
|
Improve this Doc
View Source
hasChildren
Declaration
public bool hasChildren { get; }
Property Value
|
Improve this Doc
View Source
hasMultipleDifferentValues
Declaration
public bool hasMultipleDifferentValues { get; }
Property Value
|
Improve this Doc
View Source
hasVisibleChildren
Declaration
public bool hasVisibleChildren { get; }
Property Value
|
Improve this Doc
View Source
intValue
Declaration
public int intValue { get; set; }
Property Value
|
Improve this Doc
View Source
isAnimated
Declaration
public bool isAnimated { get; }
Property Value
|
Improve this Doc
View Source
isArray
Declaration
public bool isArray { get; }
Property Value
|
Improve this Doc
View Source
isDefaultOverride
Declaration
public bool isDefaultOverride { get; }
Property Value
|
Improve this Doc
View Source
isExpanded
Declaration
public bool isExpanded { get; set; }
Property Value
|
Improve this Doc
View Source
isFixedBuffer
Declaration
public bool isFixedBuffer { get; }
Property Value
|
Improve this Doc
View Source
isInstantiatedPrefab
Declaration
public bool isInstantiatedPrefab { get; }
Property Value
|
Improve this Doc
View Source
longValue
Declaration
public long longValue { get; set; }
Property Value
|
Improve this Doc
View Source
name
Declaration
public string name { get; }
Property Value
|
Improve this Doc
View Source
objectReferenceInstanceIDValue
Declaration
public int objectReferenceInstanceIDValue { get; set; }
Property Value
|
Improve this Doc
View Source
objectReferenceValue
Declaration
public Object objectReferenceValue { get; set; }
Property Value
|
Improve this Doc
View Source
prefabOverride
Declaration
public bool prefabOverride { get; set; }
Property Value
|
Improve this Doc
View Source
propertyPath
Declaration
public string propertyPath { get; }
Property Value
|
Improve this Doc
View Source
propertyType
Declaration
public SerializedPropertyType propertyType { get; }
Property Value
|
Improve this Doc
View Source
quaternionValue
Declaration
public Quaternion quaternionValue { get; set; }
Property Value
|
Improve this Doc
View Source
rectIntValue
Declaration
public RectInt rectIntValue { get; set; }
Property Value
|
Improve this Doc
View Source
rectValue
Declaration
public Rect rectValue { get; set; }
Property Value
|
Improve this Doc
View Source
serializedObject
Declaration
public SerializedObject serializedObject { get; }
Property Value
|
Improve this Doc
View Source
stringValue
Declaration
public string stringValue { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string tooltip { get; }
Property Value
|
Improve this Doc
View Source
type
Declaration
public string type { get; }
Property Value
|
Improve this Doc
View Source
vector2IntValue
Declaration
public Vector2Int vector2IntValue { get; set; }
Property Value
|
Improve this Doc
View Source
vector2Value
Declaration
public Vector2 vector2Value { get; set; }
Property Value
|
Improve this Doc
View Source
vector3IntValue
Declaration
public Vector3Int vector3IntValue { get; set; }
Property Value
|
Improve this Doc
View Source
vector3Value
Declaration
public Vector3 vector3Value { get; set; }
Property Value
|
Improve this Doc
View Source
vector4Value
Declaration
public Vector4 vector4Value { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ClearArray()
Declaration
|
Improve this Doc
View Source
Copy()
Declaration
public SerializedProperty Copy()
Returns
|
Improve this Doc
View Source
CountInProperty()
Declaration
public int CountInProperty()
Returns
|
Improve this Doc
View Source
CountRemaining()
Declaration
public int CountRemaining()
Returns
|
Improve this Doc
View Source
DataEquals(SerializedProperty, SerializedProperty)
Declaration
public static bool DataEquals(SerializedProperty x, SerializedProperty y)
Parameters
Returns
|
Improve this Doc
View Source
DeleteArrayElementAtIndex(Int32)
Declaration
public void DeleteArrayElementAtIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
|
Improve this Doc
View Source
DeleteCommand()
Declaration
public bool DeleteCommand()
Returns
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
DuplicateCommand()
Declaration
public bool DuplicateCommand()
Returns
|
Improve this Doc
View Source
EqualContents(SerializedProperty, SerializedProperty)
Declaration
public static bool EqualContents(SerializedProperty x, SerializedProperty y)
Parameters
Returns
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
FindPropertyRelative(String)
Declaration
public SerializedProperty FindPropertyRelative(string relativePropertyPath)
Parameters
Type |
Name |
Description |
String |
relativePropertyPath |
|
Returns
|
Improve this Doc
View Source
GetArrayElementAtIndex(Int32)
Declaration
public SerializedProperty GetArrayElementAtIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetEndProperty()
Declaration
public SerializedProperty GetEndProperty()
Returns
|
Improve this Doc
View Source
GetEndProperty(Boolean)
Declaration
public SerializedProperty GetEndProperty(bool includeInvisible)
Parameters
Type |
Name |
Description |
Boolean |
includeInvisible |
|
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
|
Improve this Doc
View Source
GetFixedBufferElementAtIndex(Int32)
Declaration
public SerializedProperty GetFixedBufferElementAtIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
InsertArrayElementAtIndex(Int32)
Declaration
public void InsertArrayElementAtIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
|
Improve this Doc
View Source
MoveArrayElement(Int32, Int32)
Declaration
public bool MoveArrayElement(int srcIndex, int dstIndex)
Parameters
Type |
Name |
Description |
Int32 |
srcIndex |
|
Int32 |
dstIndex |
|
Returns
|
Improve this Doc
View Source
Next(Boolean)
Declaration
public bool Next(bool enterChildren)
Parameters
Type |
Name |
Description |
Boolean |
enterChildren |
|
Returns
|
Improve this Doc
View Source
NextVisible(Boolean)
Declaration
public bool NextVisible(bool enterChildren)
Parameters
Type |
Name |
Description |
Boolean |
enterChildren |
|
Returns
|
Improve this Doc
View Source
Reset()
Declaration
Implements
Extension Methods