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