示例#1
0
    // Start is called before the first frame update
    void Start()
    {
        options = GameObject.Find("Options").GetComponent <OptionsShuffle>(); //getting the correct word form OptionsShuffle class
        right   = options.word;


        Debug.Log(right);
    }
示例#2
0
    public void display()                                                     //display the image selected
    {
        options = GameObject.Find("Options").GetComponent <OptionsShuffle>(); //getting the correct word form OptionsShuffle class
        string right = options.word;

        Enable(right);
        Debug.Log(right);
    }