Class Property<T>
Generic property implementation.
Inheritance
Object
Component
Behaviour
MonoBehaviour
Property<T>
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: Global Namespace
Assembly: solution.dll
Syntax
[Serializable]
[AddComponentMenu("Properties")]
public class Property<T> : IProperty
Type Parameters
Name | Description |
---|---|
T | Underlying data type of the property. |
Constructors
Name | Description |
---|---|
Property() | Default init. |
Fields
Name | Description |
---|---|
data | Port type created used the data type provided. If this port cannot serialize properly then the property will not work. |
Properties
Name | Description |
---|---|
Port | Reference to the port. |
Methods
Name | Description |
---|---|
GetKey() | Gets the key. |
OnValidate() | Implement for behaviour on property data change. |
SetDefaultValue(string) | Set a default value using the serialized port json. |