Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        GameObject game = GameObject.Find("yindao");

        a = game.GetComponent <chuangjian>();
        b = true;
    }
Esempio n. 2
0
    // Use this for initialization
    void Start()
    {
        GameObject game = GameObject.Find("yindao");

        diLeiKuai = game.GetComponent <chuangjian>();
    }