Пример #1
0
 void Start()
 {
     ldp     = GetComponent <ListaDePartes>();
     enJuego = Instantiate(modelos[0], transform, true);
     ldp.reset(modelos[0].name);
     nombres = new string[modelos.Length];
     for (int i = 0; i < nombres.Length; i++)
     {
         nombres[i] = modelos[i].name;
     }
     ous = oscManager.GetComponent <OscUISetup>();
 }
Пример #2
0
 //boolean reseteando = false;
 void Start()
 {
     canvas.GetComponent <CanvasScaler>().referenceResolution = new Vector2(Screen.width, Screen.height);
     barraDeScroll = canvas.transform.GetChild(2).GetChild(0).GetChild(0).transform;
     ous           = oscManager.GetComponent <OscUISetup>();
 }