Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     maps = TilemapManager.GetMaps(Application.dataPath + "/Mapas/");
     if (text != null)
     {
         curr = 0;
         if (maps.Length > 0)
         {
             text.text = maps [0];
         }
         else
         {
             text.text = "NO MAPS FOUND!";
         }
     }
 }