public override void HandleNotification(puremvc.INotification notification) { switch (notification.name) { case "MSG_TESTCOMMAND_RESPONSE": Debug.Log(">>>> HandleNotification: " + notification.ToString()); break; } }
public override void Execute(puremvc.INotification notification) { Debug.Log(">>>>> TestCommand Execute " + notification.ToString()); this.SendNotification("MSG_TESTCOMMAND_RESPONSE"); }