Esempio n. 1
0
 void Start()
 {
     if (GameObject.Find("Plank"))
     {
         pc = GameObject.Find("Plank").GetComponent <PositionCalibration>();
     }
 }
Esempio n. 2
0
 void Awake()
 {
     pc            = GameObject.Find("Plank").GetComponent <PositionCalibration>();
     trackedObject = GetComponent <SteamVR_TrackedObject>();
 }