Пример #1
0
        public override void Run(string args)
        {
            GameCrossLineMgr mgr = Game.Scene.GetComponent <GameCrossLineMgr>();

            if (mgr != null)
            {
                mgr.StopPVPBulletTime();
            }
        }
Пример #2
0
        public override void Run(string args)
        {
            GameCrossLineMgr mgr = Game.Scene.GetComponent <GameCrossLineMgr>();

            if (mgr != null)
            {
                mgr.DisplayChampionFinished();
            }
        }
Пример #3
0
        public override void Run(string args)
        {
            GameCrossLineMgr mgr = Game.Scene.GetComponent <GameCrossLineMgr>();

            if (mgr != null)
            {
                Game.Scene.RemoveComponent <GameCrossLineMgr>();
            }
            else
            {
                Debug.LogError("Remove component error! ---->GameCrossLineMgr<---- ");
            }
        }
Пример #4
0
        public override void Run(string args)
        {
            if (Game.Scene.GetComponent <GameFeatureCameraMgr>() == null)
            {
                GameFeatureCameraMgr mgr = Game.Scene.AddComponent <GameFeatureCameraMgr>();
                if (mgr != null)
                {
                    Debug.Log("GameFeatureCameraMgr add Succeed");
                }
            }

            if (Game.Scene.GetComponent <GameCrossLineMgr>() == null)
            {
                GameCrossLineMgr mgr = Game.Scene.AddComponent <GameCrossLineMgr>();
                if (mgr != null)
                {
                    Debug.Log("GameCrossLineMgr add Succeed");
                }
            }
        }