コード例 #1
0
 void Start()
 {
     // this.texte = GetComponentInChildren<MeshRenderer>();
     this.parent = GameObject.Find("GestFleet");
     this.superScript = this.parent.GetComponent<MoveInFleetScript>();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     this.superScript = GameObject.Find("GestFleet").GetComponent<MoveInFleetScript>();
 }