Output slot
Data can be output by declaring an output slot such as OutpotSlotInt.
Example script
Create a TestOutputSlotBehaviour script file and write the following code.
|
|
When this script is added to the state of ArborFSM, it becomes as follows.
Output slot class
- OutputSlotInt
- OutputSlotLong
- OutputSlotFloat
- OutputSlotBool
- OutputSlotString
- OutputSlotVector2
- OutputSlotVector3
- OutputSlotVector4
- OutputSlotQuaternion
- OutputSlotRect
- OutputSlotBounds
- OutputSlotColor
- OutputSlotVector2Int
- OutputSlotVector3Int
- OutputSlotRectInt
- OutputSlotBoundsInt
- OutputSlotGameObject
- OutputSlotTransform
- OutputSlotRectTransform
- OutputSlotRigidbody
- OutputSlotRigidbody2D
- OutputSlotComponent
- OutputSlotCollider
- OutputSlotCollider2D
- OutputSlotCollision
- OutputSlotCollision2D
- OutputSlotRaycastHit
- OutputSlotRaycastHit2D
- OutputSlotUnityObject
- OutputSlotTypable
- OutputSlotAny