FlexibleField
FlexibleField is useful for not only input slots but also constant values and parameters.
Example script
Create a TestFlexibleFieldBehaviour script file and write the following code.
|
|
When this script is added to the state of ArborFSM, it becomes as follows.
FlexibleField related class
- FlexibleInt
- FlexibleFloat
- FlexibleBool
- FlexibleGameObject
- FlexibleString
- FlexibleEnumAny
- FlexibleVector2
- FlexibleVector3
- FlexibleVector4
- FlexibleQuaternion
- FlexibleRect
- FlexibleBounds
- FlexibleColor
- FlexibleVector2Int
- FlexibleVector3Int
- FlexibleRectInt
- FlexibleBoundsInt
- FlexibleTransform
- FlexibleRectTransform
- FlexibleRigidbody
- FlexibleRigidbody2D
- FlexibleComponent
- FlexibleLong
- FlexibleField<T>
(Inherit and use it)