Input slot
Data can be output by declaring an input slot such as InputSlotInt.
Example script
Create a TestInputSlotBehaviour script file and write the following code.
|
|
When this script is added to the state of ArborFSM, it becomes as follows.
Input slot class
- InputSlotInt
- InputSlotLong
- InputSlotFloat
- InputSlotBool
- InputSlotString
- InputSlotVector2
- InputSlotVector3
- InputSlotVector4
- InputSlotQuaternion
- InputSlotRect
- InputSlotBounds
- InputSlotColor
- InputSlotVector2Int
- InputSlotVector3Int
- InputSlotRectInt
- InputSlotBoundsInt
- InputSlotGameObject
- InputSlotTransform
- InputSlotRectTransform
- InputSlotRigidbody
- InputSlotRigidbody2D
- InputSlotComponent
- InputSlotCollider
- InputSlotCollider2D
- InputSlotCollision
- InputSlotCollision2D
- InputSlotRaycastHit
- InputSlotRaycastHit2D
- InputSlotUnityObject
- InputSlotTypable
- InputSlotAny