ActionAdventureKit 1.5.4
|
receives and sends messages to a character, effectively acting as a proxy
looks for the character in its parents unless specified
useful for catching messages on objects that are instantiated on characters
for example to play equipment specific sounds when some animation is performed
(different sword slash sounds on a wooden vs metal sword or footsteps with heavy armor)
Public Member Functions | |
virtual void | SendCharacterMessages (string e) |
virtual void | SendCharacterMessage (string e) |
virtual void | OnMessages (string e) |
use when a single string has to be split into several messages by default the parameter is split by spaces | |
virtual void | OnMessage (string e) |
puts a message into the characters messaging pipeline | |
Public Attributes | |
CharacterBase | Character |
UnityEvent< string > | MessageReceived |
MessageEvent[] | MessageEvents |
|
inlinevirtual |
puts a message into the characters messaging pipeline
e |
|
inlinevirtual |
use when a single string has to be split into several messages
by default the parameter is split by spaces
e |