public override void Run(string args) { GameCrossLineMgr mgr = Game.Scene.GetComponent <GameCrossLineMgr>(); if (mgr != null) { mgr.StopPVPBulletTime(); } }
public override void Run(string args) { GameCrossLineMgr mgr = Game.Scene.GetComponent <GameCrossLineMgr>(); if (mgr != null) { mgr.DisplayChampionFinished(); } }
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<---- "); } }
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"); } } }