public override void Dispose() { RemoveEntityCreaterLisnter(); RemoveEntityDestroyLisnter(); GlobalEvent.RemoveTypeEvent <DebugMsg>(ReceviceDebugMsg); }
public override void Dispose() { //RemoveEntityCreaterLisnter(); //RemoveEntityDestroyLisnter(); ApplicationManager.s_OnApplicationOnGUI -= GUI; GlobalEvent.RemoveTypeEvent <DebugMsg>(ReceviceDebugMsg); }
public override void Dispose() { GlobalEvent.RemoveTypeEvent <SyncEntityMsg>(ReceviceSyncEntity); GlobalEvent.RemoveTypeEvent <DestroyEntityMsg>(ReceviceDestroyEntityMsg); GlobalEvent.RemoveTypeEvent <ChangeSingletonComponentMsg>(ReceviceChangeSingletonCompMsg); GlobalEvent.RemoveTypeEvent <StartSyncMsg>(ReceviceStartSyncMsg); GlobalEvent.RemoveTypeEvent <T>(ReceviceCommandMsg); }
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); }
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); }
public override void Dispose() { GlobalEvent.RemoveTypeEvent <DebugMsg>(ReceviceDebugMsg); }