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