public void LoadResources() { player = Instantiate(Resources.Load("Prefabs/Player"), new Vector3(0, 9, 0), Quaternion.identity) as GameObject; crystals = crystalFactory.getCrystals(); patrols = patrolFactory.getPatrols(); for (int i = 0; i < patrols.Count; i++) { actionManager.GoPatrol(patrols[i]); } }
public void LoadResources() { player = Instantiate(Resources.Load("player"), new Vector3(35, 9, -36), Quaternion.identity) as GameObject; crystals = crystalFactory.getCrystals(); dragons = dragonFactory.getDragons(); for (int i = 0; i < dragons.Count; i++) { actionManager.GoDragon(dragons[i]); } }