API ReferenceSandbox
public abstract class Sandbox.SerializedObject
An object (or data) that can be accessed as an object
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
protected SerializedObject()
No results match this filter.
Methods
Showing 8 methods
public virtual sealed System.Collections.Generic.IEnumerator`1<Sandbox.SerializedProperty> GetEnumerator()
public virtual Sandbox.SerializedProperty GetProperty(string v)
public virtual void NoteChanged(Sandbox.SerializedProperty childProperty)
It's good manners for a changed SerializedProperty to tell its parent on set. That way the parent can cascade changes up the tree. This is particularly important if the tree includes struct types - because those values will need to be re-set on any ParentProperty's.
public virtual void NoteFinishEdit(Sandbox.SerializedProperty childProperty)
public virtual void NotePreChange(Sandbox.SerializedProperty childProperty)
public virtual void NoteStartEdit(Sandbox.SerializedProperty childProperty)
protected virtual void PrepareEnumerator()
Called right before enumeration, to allow derivitives react to changes
public virtual bool TryGetProperty(string v, Sandbox.SerializedProperty prop)
No results match this filter.
Properties
Showing 11 properties
public virtual bool Sandbox.SerializedObject.IsMultipleTargets { get; set; }
True if the target is multiple objects
public virtual bool Sandbox.SerializedObject.IsValid { get; set; }
Does the target object still exist?
public Sandbox.SerializedObject.PropertyChangedDelegate Sandbox.SerializedObject.OnPropertyChanged { get; set; }
public Sandbox.SerializedObject.PropertyFinishEditDelegate Sandbox.SerializedObject.OnPropertyFinishEdit { get; set; }
public Sandbox.SerializedObject.PropertyPreChangeDelegate Sandbox.SerializedObject.OnPropertyPreChange { get; set; }
public Sandbox.SerializedObject.PropertyStartEditDelegate Sandbox.SerializedObject.OnPropertyStartEdit { get; set; }
public Sandbox.SerializedProperty Sandbox.SerializedObject.ParentProperty { get; set; }
public virtual System.Collections.Generic.IEnumerable`1<object> Sandbox.SerializedObject.Targets { get; set; }
A list of actual target objects - if applicable
public virtual string Sandbox.SerializedObject.TypeIcon { get; set; }
public virtual string Sandbox.SerializedObject.TypeName { get; set; }
public virtual string Sandbox.SerializedObject.TypeTitle { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.SerializedObject |