public static void EventSetup() { GoToMainMenu += singleton.HandleGoToMainMenu; GoToOption += singleton.HandleGoToOption; GoToMove += singleton.HandleMove; GoToCrouch += singleton.HandleCrouch; GoToGetUp += singleton.HandleGetUp; GoToPoint += singleton.HandlePoint; }
private void OnDisable() { GoToMainMenu -= singleton.HandleGoToMainMenu; GoToOption -= singleton.HandleGoToOption; GoToMove -= singleton.HandleMove; GoToCrouch -= singleton.HandleCrouch; GoToGetUp -= singleton.HandleGetUp; GoToPoint -= singleton.HandlePoint; }