コード例 #1
0
        void Awake()
        {
            if (handInterfaceObject != null)
            {
                handInterface = handInterfaceObject.GetComponent <IHandBoneManipulator>();
            }

            SaveStartRotations();
            InitPreviousPositions();
            CacheRotations();
        }
コード例 #2
0
 void Awake()
 {
     touchControllersInterface = _touchControllersInterfaceObject.GetComponent <IHandBoneManipulator>();
     handTrackingInterface     = _handTrackingInterfaceObject.GetComponent <IHandBoneManipulator>();
 }