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
- FloatParameterReference
- BoolParameterReference
- GameObjectParameterReference
- StringParameterReference
- Vector2ParameterReference
- Vector3ParameterReference
- QuaternionParameterReference
- RectParameterReference
- BoundsParameterReference
- ColorParameterReference
- TransformParameterReference
- RectTransformParameterReference
- RigidbodyParameterReference
- Rigidbody2DParameterReference
- ComponentParameterReference
- LongParameterReference
- AnyParameterReference
(Used to refer to Variable parameter)