void Start() { // this.texte = GetComponentInChildren<MeshRenderer>(); this.parent = GameObject.Find("GestFleet"); this.superScript = this.parent.GetComponent<MoveInFleetScript>(); }
// Use this for initialization void Start() { this.superScript = GameObject.Find("GestFleet").GetComponent<MoveInFleetScript>(); }