예제 #1
0
        protected virtual void Awake()
        {
            TrackingToWorldTransformer = _trackingToWorldTransformer as ITrackingToWorldTransformer;
            HmdData              = _hmdData as IDataSource <HmdDataAsset>;
            CameraRigRef         = _cameraRigRef as IOVRCameraRigRef;
            HandSkeletonProvider = _handSkeletonProvider as IHandSkeletonProvider;

            UpdateConfig();
        }
        protected void Awake()
        {
            _skeleton = HandSkeletonOVR.CreateSkeletonData(_handedness);
            TrackingToWorldTransformer = _trackingToWorldTransformer as ITrackingToWorldTransformer;
            HmdData      = _hmdData as IDataSource <HmdDataAsset>;
            CameraRigRef = _cameraRigRef as IOVRCameraRigRef;

            UpdateConfig();
        }
 protected virtual void Awake()
 {
     DataSource   = _dataSource as IDataSource;
     CameraRigRef = _cameraRigRef as IOVRCameraRigRef;
 }
 public void InjectOptionalCameraRigRef(IOVRCameraRigRef cameraRigRef)
 {
     _cameraRigRef = cameraRigRef as MonoBehaviour;
     CameraRigRef  = cameraRigRef;
 }