private void OnDisable() { ForceManagerSystem forceManager = EventsManager.GetIstance <ForceManagerSystem>(); if (forceManager) { forceManager.DisableForce(gameObject.GetInstanceID()); } }
private void OnDisable() { ForceManagerSystem forceManager = SingletonPool.Get <ForceManagerSystem>(); if (forceManager) { forceManager.DisableForce(gameObject.GetInstanceID()); } }