Class IBinding
Base class for all binding types
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Global Namespace
Syntax
[Serializable]
public class IBinding : IComponentAttachment
Properties
SubQueryPath
The Guid member of IComponentAttachment is mapped to the SubQueryPath containing this Binding
Declaration
public string SubQueryPath { get; }
Property Value
| Type | Description |
|---|---|
| String | The sub query path. |
Methods
GetKey()
Retrieve the key of this binding
Declaration
public override string GetKey()
Returns
| Type | Description |
|---|---|
| String | Binding Key. |
Overrides
OnCreate()
OnCreate callback is received after binding is created at run time
Declaration
public virtual void OnCreate()
OnValidate()
To be overriden for actions on data change.
Declaration
public virtual void OnValidate()
SetDataInstance(Object)
Set the instance of the data member
Declaration
public virtual void SetDataInstance(object instance)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | instance | Instance to associate to this binding data member. |