Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        gamedbmgr.Instance().open();

        UIPageMgr.Instance().initpages();

        _MapMgr.init();

        _AIPlayer.generate();
    }
Beispiel #2
0
 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);
     }
 }