DIFF

class MessageReceiverBaseSource

Constructors 1

void MessageReceiverBase()

Members 2

Methods 14

void OnReceive(int channel)
void OnReceiveInt(int channel, int value)
void OnReceiveFloat(int channel, float value)
void OnReceiveString(int channel, string value)
void OnReceiveParam(int channel, Param params)

This method is called when an object inheriting from this class subscribes to a channel, and a message along with an object reference is broadcast on that channel, if the object was created just for the purpose of relaying information and is not referenced anywhere else, it should be deleted after processing inside this method

void Subscribe(int channel)
void Broadcast(int channel)
void BroadcastInt(int channel, int value)
void BroadcastFloat(int channel, float value)
void BroadcastString(int channel, string value)
void BroadcastParam(int channel, Param params)
void Log(string message)
References Debug.Log(), and m_System