コード例 #1
0
        protected override void Awake()
        {
            base.Awake();

            receiver = GetComponent <ViveControllerReceiver>();
            if (centroid)
            {
                cachedPosition = centroid.position;
            }
        }
コード例 #2
0
 private void Awake()
 {
     receiver = GetComponent <ViveControllerReceiver>();
 }