예제 #1
0
파일: LinearMapping.cs 프로젝트: jminor/rta
 void Start()
 {
     m_mesh  = transform.parent.GetComponentInChildren <TextMesh>();
     m_drive = transform.parent.GetComponent <LinearDrive>();
 }
예제 #2
0
 private void Awake()
 {
     // Get the real value of the linear drive
     //linearDrive = objectToReset.GetComponent<LinearDrive>();
     linearDrive = this.GetComponent <LinearDrive>();
 }