ParameterReference
By declaring the ParameterReference association class in the field, you can refer to the parameter.
Example script
|
|
When you add this script to GameObject, it becomes as follows.
Field Name | Description |
---|---|
Container | Reference ParameterContainer By clicking button you can select Constant or DataSlot. (However, DataSlot can not be used except for script for Arbor node) |
Parameter | Parameters to be referred to When Container type is DataSlot, name designation by character string. |
For the getted Parameter, refer to the script reference.
ParameterReference related class
- IntParameterReference
- LongParameterReference
- FloatParameterReference
- BoolParameterReference
- StringParameterReference
- Vector2ParameterReference
- Vector3ParameterReference
- Vector4ParameterReference
- QuaternionParameterReference
- RectParameterReference
- BoundsParameterReference
- ColorParameterReference
- Vector2IntParameterReference
- Vector3IntParameterReference
- RectIntParameterReference
- BoundsIntParameterReference
- GameObjectParameterReference
- TransformParameterReference
- RectTransformParameterReference
- RigidbodyParameterReference
- Rigidbody2DParameterReference
- ComponentParameterReference
- AnyParameterReference
(Used to refer to Variable parameter)