private void DeregisterMessages() { MessageCenter center = GameContext.messageCenter; center.RemoveListener <LoadSceneMessage>(HandleLoadSceneMessage); }
private void DeregisterMessages() { MessageCenter center = GameContext.messageCenter; center.RemoveListener <TouchBeganMessage>(HandleTouchBeganMessage); }
private void RegisterMessages() { MessageCenter center = GameContext.messageCenter; center.AddListener <LoadSceneMessage>(HandleLoadSceneMessage); }