Ejemplo n.º 1
0
    void Start()
    {
        if (sharedInstance == null)
        {
            sharedInstance = this;
        }

        _estado = GameObject.FindWithTag("Estado").GetComponent <Estado>();
    }