Exemplo n.º 1
0
    //Mostrar imagen de gana
    void Start()
    {
        mover = true;

        tagObjeto = gameObject.tag;

        modificar = script.GetComponent<Aciertos>();
    }
Exemplo n.º 2
0
    public string tagObjeto; // modificar los aciertos

    //Mostrar imagen de gana



    void Start()
    {
        mover = true;

        tagObjeto = gameObject.tag;

        modificar = script.GetComponent <Aciertos>();
    }
Exemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        mover     = true;
        tagObjeto = gameObject.tag;
        modificar = script.GetComponent <Aciertos>();

        //coger el componente texto del canvas
        texto      = Canvas.GetComponent <Text>();
        texto.text = "";
    }
Exemplo n.º 4
0
    // Use this for initialization
    void Start()
    {
        // permite mover las fichas
        mover = true;
        //captura la etiqueta de un objeto
        tagObjeto = gameObject.tag;
        //modifica el script Aciertos
        modificar = script.GetComponent <Aciertos>();

        //coger el componente texto del canvas
        texto      = Canvas.GetComponent <Text>();
        texto.text = "";
    }