Пример #1
0
 void Start()
 {
     nodosExpandidos  = 0;
     mapCreatorScript = gameObject.GetComponent <MapCreatorScript>();
     LoadMap();
     mapCreatorScript.CreateMap(mapRepresentation);
     nodosVisitados = new List <Node>();
     StartCoroutine(Busqueda());
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     mapCreatorScript = GameObject.FindGameObjectWithTag("mapcreator").GetComponent <MapCreatorScript>();
 }