コード例 #1
0
    public override void Dispose()
    {
        RemoveEntityCreaterLisnter();
        RemoveEntityDestroyLisnter();

        GlobalEvent.RemoveTypeEvent <DebugMsg>(ReceviceDebugMsg);
    }
コード例 #2
0
 public override void Dispose()
 {
     //RemoveEntityCreaterLisnter();
     //RemoveEntityDestroyLisnter();
     ApplicationManager.s_OnApplicationOnGUI -= GUI;
     GlobalEvent.RemoveTypeEvent <DebugMsg>(ReceviceDebugMsg);
 }
コード例 #3
0
 public override void Dispose()
 {
     GlobalEvent.RemoveTypeEvent <SyncEntityMsg>(ReceviceSyncEntity);
     GlobalEvent.RemoveTypeEvent <DestroyEntityMsg>(ReceviceDestroyEntityMsg);
     GlobalEvent.RemoveTypeEvent <ChangeSingletonComponentMsg>(ReceviceChangeSingletonCompMsg);
     GlobalEvent.RemoveTypeEvent <StartSyncMsg>(ReceviceStartSyncMsg);
     GlobalEvent.RemoveTypeEvent <T>(ReceviceCommandMsg);
 }
コード例 #4
0
 public override void Dispose()
 {
     GlobalEvent.RemoveTypeEvent <SyncEntityMsg>(ReceviceSyncEntity);
     GlobalEvent.RemoveTypeEvent <PursueMsg>(RecevicePursueMsg);
     GlobalEvent.RemoveTypeEvent <ChangeSingletonComponentMsg>(ReceviceChangeSingletonCompMsg);
     GlobalEvent.RemoveTypeEvent <StartSyncMsg>(ReceviceStartSyncMsg);
     GlobalEvent.RemoveTypeEvent <AffirmMsg>(ReceviceAffirmMsg);
     GlobalEvent.RemoveTypeEvent <T>(ReceviceCommandMsg);
     //GlobalEvent.RemoveTypeEvent<CommandMsg>(ReceviceCmdMsg);
 }
コード例 #5
0
    private void OnDestroy()
    {
        GlobalEvent.RemoveTypeEvent <SyncEntityMsg>(ReceviceSyncEntity);
        GlobalEvent.RemoveTypeEvent <PursueMsg>(RecevicePursueMsg);
        GlobalEvent.RemoveTypeEvent <ChangeSingletonComponentMsg>(ReceviceChangeSingletonCompMsg);
        GlobalEvent.RemoveTypeEvent <StartSyncMsg>(ReceviceStartSyncMsg);
        GlobalEvent.RemoveTypeEvent <AffirmMsg>(ReceviceAffirmMsg);
        GlobalEvent.RemoveTypeEvent <CommandComponent>(ReceviceCommandMsg);

        GlobalEvent.RemoveEvent(SyncDebugSystem.c_isAllMessage, ReceviceAllMsg);
        GlobalEvent.RemoveEvent(SyncDebugSystem.c_isConflict, ReceviceConflict);
        GlobalEvent.RemoveEvent(SyncDebugSystem.c_Recalc, ReceviceRecalc);
    }
コード例 #6
0
 public override void Dispose()
 {
     GlobalEvent.RemoveTypeEvent <DebugMsg>(ReceviceDebugMsg);
 }