Example #1
0
 void Start()
 {
     m_mesh  = transform.parent.GetComponentInChildren <TextMesh>();
     m_drive = transform.parent.GetComponent <LinearDrive>();
 }
Example #2
0
 private void Awake()
 {
     // Get the real value of the linear drive
     //linearDrive = objectToReset.GetComponent<LinearDrive>();
     linearDrive = this.GetComponent <LinearDrive>();
 }