Ejemplo n.º 1
0
    public void LoadResources()
    {
        player = _PatorlFactory.LoadPlayer();

        //导入资源的时候为了巡逻兵有动作
        patrols = _PatorlFactory.LoadPatrol();
        for (int i = 0; i < patrols.Count; i++)
        {
            _PatrolActionManager.GoPatrol(patrols[i]);
        }
    }
Ejemplo n.º 2
0
    public void LoadResources()
    {
        player = _PatorlFactory.LoadPlayer();

        patrols = _PatorlFactory.LoadPatrol();
        for (int i = 0; i < patrols.Count; i++)
        {
            _PatrolActionManager.GoPatrol(patrols[i]);
        }

        GameObject.Instantiate(Resources.Load("Prefabs/Plane"), new Vector3(0, 0, 0), Quaternion.identity);
    }