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