Sending Messages

From ETC Public Wiki
Jump to: navigation, search

Sending a message

You can send a message to a game object to run a particular function. Note: Every one of the scripts on the game object with the specified function name will run.

gameObj.SendMessage("FunctionName", value);

function FunctionName( value : type) {

  Do something;


TODO => check out this Messaging utility: