コード例 #1
0
 public override void OnPluginMsgDirect(JsonObject jsonMsg)
 {
     PluginMsgHandler.GetInstanceForReceiver(this).StartCoroutine(PluginsMessageRoutine(jsonMsg));
 }
コード例 #2
0
 protected virtual void OnDestroy()
 {
     PluginMsgHandler.GetInstanceForReceiver(this).RemoveReceiver(_receiverId);
 }
コード例 #3
0
 protected JsonObject SendPluginMsg(JsonObject jsonMsg)
 {
     return(PluginMsgHandler.GetInstanceForReceiver(this).SendMsgToPlugin(_receiverId, jsonMsg));
 }
コード例 #4
0
 protected virtual void Start()
 {
     _receiverId = PluginMsgHandler.GetInstanceForReceiver(this).RegisterAndGetReceiverId(this);
 }