Beispiel #1
0
 private void cleanupCells()
 {
     for (int i = this.m_heroStatCells.Count - 1; i >= 0; i--)
     {
         HeroStatCell cell = this.m_heroStatCells[i];
         cell.gameObject.SetActive(false);
     }
 }
        protected override void onCleanup()
        {
            for (int i = this.m_heroStatCells.Count - 1; i >= 0; i--)
            {
                HeroStatCell cell = this.m_heroStatCells[i];
                cell.gameObject.SetActive(false);
            }
            PlayerView.Binder.MenuSystem.CharacterMenuCamera.Camera.enabled = false;
            MenuCharacterView target = PlayerView.Binder.MenuSystem.CharacterMenuCamera.Target;

            this.HeroAvatarDragHandler.OnDragged -= new MenuDragHandler.Dragged(target.OnDrag);
            PlayerView.Binder.MenuSystem.MenuHero.CharacterView.gameObject.SetActive(false);
        }