// 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>(); }
// Use this for initialization void Start() { cuadroMask = LayerMask.GetMask("Cuadro"); panel = canvas.GetComponent <VerificarPanelBotones>(); }