Blackboard Event
v4.0
Blackboard Events
To receive updates from a Blackboard Note or a Blackboard Event, a script must implement IFollowBlackboard
, or inherit from BlackboardFollower
.
Blackboard Events have four values. "Topic", "GameUid", and "Status" are strings, and there is also an Object obj.
Note that the strings do not have to be specifically what they are named. You can use these values creatively however you'd like to pass data between objects.
Events are great ways to pass data to any object in your project which is looking for them. Objects which follow the Blackboard can choose whether to handle the event based on the Topic, GameUid, and Status passed through the event.
Any script can add a BlackboardEvent
to the blackboard, and all those who follow the blackboard will then get a notification of the event. Once an event has been sent, it is removed from the blackboard.
Last updated