DataLink attribute
By using DataLink attribute, input from constant or data flow can be accepted even if there is no corresponding type InputSlot or FlexibleField.
Example script
Create ExampleDataLinkBehaviour script file and write the following code.
|
|
Notes
- It can only be used in the fields of classes that inherit NodeBehaviour (such as StateBehaviour and ActionBehaviour).
- It can not be used for arrays or lists.