// Use this for initialization void Start() { gamedbmgr.Instance().open(); UIPageMgr.Instance().initpages(); _MapMgr.init(); _AIPlayer.generate(); }
public void GETEnemy(AIEnemy _em) { _TargetEnemy = _em; if (_TargetEnemy == null) { UIPageMgr.Instance().showbattleui(false); } else { UIPageMgr.Instance().showbattleui(true); GameResources.Instance()._ObjPlayer.transform.LookAt(_TargetEnemy._Role._ObjRole.transform); } }