This commit is contained in:
parent
c4d6ab745f
commit
9bf48dbacd
|
@ -105,9 +105,11 @@ public class LiveSceneManager : SingletonMono<LiveSceneManager>
|
|||
private void OnDestroy()
|
||||
{
|
||||
firstPersonController.zoomAction -= OnZoom;
|
||||
GameManager.EventMgr.RemoveEventListener<GameObject>(Enum_EventType.TakeOutAndRetrievingTheTools, SetSpawnToolInfo);
|
||||
}
|
||||
private void OnDisable()
|
||||
{
|
||||
firstPersonController.zoomAction -= OnZoom;
|
||||
GameManager.EventMgr.RemoveEventListener<GameObject>(Enum_EventType.TakeOutAndRetrievingTheTools, SetSpawnToolInfo);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue