// Use this for initialization
 void Start()
 {
     cuadricula        = mundo.GetComponent <ControladorCuadricula>();
     verificacionPanel = this.GetComponent <VerificarPanelBotones>();
     intGranero        = this.GetComponent <InterfazGranero>();
     intSembrar        = this.GetComponent <InterfazSembrar>();
     intConstruir      = this.GetComponent <InterfazConstruir>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     cuadroMask = LayerMask.GetMask("Cuadro");
     panel      = canvas.GetComponent <VerificarPanelBotones>();
 }