internal static void Unregister(BoingReactor reactor) { if (OnReactorUnregister != null) { OnReactorUnregister(reactor); } s_reactorMap.Remove(reactor.GetInstanceID()); PostUnregisterEffectorReactor(); }
internal static void Register(BoingReactor reactor) { PreRegisterEffectorReactor(); s_reactorMap.Add(reactor.GetInstanceID(), reactor); if (OnReactorRegister != null) { OnReactorRegister(reactor); } }