SerializedProperty |
As | |
Description | |
DisplayName | |
GroupName | |
HasChanges | Returns true if the current set value differs from the actual value |
IsEditable | |
IsField | |
IsMethod | |
IsMultipleDifferentValues | True if this holds multiple values, and they're all different. |
IsMultipleValues | True if this holds multiple values. That might all be the same. |
IsNull | True if the value is null |
IsNullable | Return true if this is a nullable value type |
IsProperty | |
IsPublic | |
IsValid | |
MultipleProperties | Get all properties if this holds multiple values |
Name | |
NullableType | If this is a nullable type, this will return the nullable target type |
Order | |
Parent | |
PropertyType | |
SourceFile | The source filename, if available |
SourceLine | The line in the source file, if available |
GetAttributes | Get all of these attributes from the property. |
GetDefault | Get the default value of a specific property type. |
GetKey | If this entry is a dictionary, we can get the key for it here |
GetValue | |
HasAttribute | Return true if the property has this attribute |
Invoke | If is method |
SetNullState | If this is a nullable type, you can use this to toggle between it being null or the default value type |
SetValue | |
ShouldShow | Returns true if this property should be shown in the inspector |
TryGetAsObject | Try to convert this property into a serialized object for further editing and exploration |
TryGetAttribute | Try to get this attribute from the property. Return false on fail. |
Createobsolete | |
DispatchEdited | Run the Editor.EditorEvent.ISceneEdited.GameObjectEdited(Sandbox.GameObject,System.String) or Editor.EditorEvent.ISceneEdited.ComponentEdited(Sandbox.Component,System.String) event for the given property. |
DispatchPreEdited | Run the Editor.EditorEvent.ISceneEdited.GameObjectPreEdited(Sandbox.GameObject,System.String) or Editor.EditorEvent.ISceneEdited.ComponentPreEdited(Sandbox.Component,System.String) event for the given property. |
FindPathInScene | Tries to find the path from a Sandbox.GameObject or Sandbox.Component to this property. Returns <see langword="null" /> if not found. |
GetContainingGameObject | Tries to find the Sandbox.GameObject that contains the given property. Returns <see langword="null" /> if not found. |