Пример #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>();
 }