protected override void Awake() { base.Awake(); receiver = GetComponent <ViveControllerReceiver>(); if (centroid) { cachedPosition = centroid.position; } }
private void Awake() { receiver = GetComponent <ViveControllerReceiver>(); }