Beispiel #1
0
            public TrackerProps(SerializedObject serializedObject, HumanoidControl_Editor.HumanoidTargetObjs targetObjs, OpenVRHumanoidTracker _steamTracker)
#endif
                : base(serializedObject, targetObjs, _steamTracker, "steam")
            {
                steamTracker = _steamTracker;
                tracker      = steamTracker;
            }
Beispiel #2
0
            public TrackerProps(SerializedObject serializedObject, HumanoidControl_Editor.HumanoidTargetObjs targetObjs, SteamVRTracker _steam)
                : base(serializedObject, targetObjs, _steam, "steam")
            {
                tracker = _steam;

                headSensorProp      = targetObjs.headTargetObj.FindProperty("steamVR");
                leftHandSensorProp  = targetObjs.leftHandTargetObj.FindProperty("steamVR");
                rightHandSensorProp = targetObjs.rightHandTargetObj.FindProperty("steamVR");

#if hVIVETRACKER
                viveTrackerProps = new ViveTracker_Editor.TrackerProps(serializedObject, targetObjs, _steam);
#endif
            }
Beispiel #3
0
 public TrackerProps(SerializedObject serializedObject, HumanoidControl_Editor.HumanoidTargetObjs targetObjs, SteamVRTracker _steamTracker)