Depiction Engine For Unity 2023.0 (Alpha)
|
Implements members required to read and write property values. More...
Public Member Functions | |
void | ResetId () |
Resets the Id to DepictionEngine.SerializableGuid.Empty. | |
Public Member Functions inherited from DepictionEngine.IScriptableBehaviour | |
InitializationContext | GetInitializeContext () |
void | Originator (Action callback, IScriptableBehaviour originator) |
Provides the code executed in this callback information about the DepictionEngine.IScriptableBehaviour that triggered it by keeping a reference available under DepictionEngine.IScriptableBehaviour.originator. | |
int | GetInstanceID () |
void | OnDestroy () |
This is where you destroy any remaining dependencies. | |
Public Member Functions inherited from DepictionEngine.IDisposable | |
void | Initialized (InitializationContext initializingContext) |
Acts as a reliable constructor and will always by called unlike Awake which is sometimes skipped during Undo / Redo operations. | |
void | Recycle () |
Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool. | |
bool | Initialize () |
Needs to be called before the object can be used. Objects created through the DepictionEngine.InstanceManager should automatically Initialize the object. | |
bool | IsDisposing () |
Is the object disposing?. | |
bool | IsDisposed () |
Has the object been disposed? | |
bool | OnDisposing () |
bool | OnDispose (DisposeContext disposeContext) |
This is where you dispose any remaining dependencies. | |
void | OnDisposeInternal (DisposeContext disposeContext) |
bool | UpdateDisposingContext (bool forceUpdate=false) |
This is where you clear or dispose any remaining references. It will be called automatically by DepictionEngine.DisposeManager immediately after DepictionEngine.IDisposable.OnDisposing unless the object was Destroyed as a result of an Editor action. | |
bool | Equals (Disposable.Null value) |
Properties | |
SerializableGuid | id [get] |
The DepictionEngine.SerializableGuid of the object. | |
Action< IProperty, string, object, object > | PropertyAssignedEvent [get, set] |
Dispatched when a new value as been assigned to a field using the DepictionEngine.PropertyMonoBehaviour.SetValue method. | |
Properties inherited from DepictionEngine.IScriptableBehaviour | |
string | name [get, set] |
bool | isFallbackValues [get] |
Was this component created by a DepictionEngine.FallbackValues. | |
IScriptableBehaviour | originator [get] |
Which DepictionEngine.IScriptableBehaviour triggered the current code execution if any at all. | |
Properties inherited from DepictionEngine.IDisposable | |
Action< IDisposable > | InitializedEvent [get, set] |
Dispatched after the object as been initialized. | |
Action< IDisposable, DisposeContext > | DisposedEvent [get, set] |
Dispatched during the DepictionEngine.MonoBehaviourDisposable.OnDispose, DepictionEngine.ScriptableObjectDisposable.OnDispose or DepictionEngine.Disposable.OnDispose. | |
bool | initialized [get] |
Has the object been initialized. | |
bool | poolComplete [get, set] |
Is the object done disposing. | |
DisposeContext | disposingContext [get] |
The DepictionEngine.DisposeContext under which the object was destroyed. | |
Implements members required to read and write property values.
void DepictionEngine.IProperty.ResetId | ( | ) |
Resets the Id to DepictionEngine.SerializableGuid.Empty.
Implemented in DepictionEngine.PropertyMonoBehaviour, and DepictionEngine.PropertyScriptableObject.
|
get |
The DepictionEngine.SerializableGuid of the object.
Implemented in DepictionEngine.PropertyMonoBehaviour, and DepictionEngine.PropertyScriptableObject.
|
getset |
Dispatched when a new value as been assigned to a field using the DepictionEngine.PropertyMonoBehaviour.SetValue method.
Implemented in DepictionEngine.PropertyMonoBehaviour, and DepictionEngine.PropertyScriptableObject.