Exemple #1
0
            public TrackerProps(SerializedObject serializedObject, HumanoidControl_Editor.HumanoidTargetObjs targetObjs, OpenVRHumanoidTracker _steamTracker)
#endif
                : base(serializedObject, targetObjs, _steamTracker, "steam")
            {
                steamTracker = _steamTracker;
                tracker      = steamTracker;
            }
Exemple #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
            }
Exemple #3
0
 public TrackerProps(SerializedObject serializedObject, HumanoidControl_Editor.HumanoidTargetObjs targetObjs, SteamVRTracker _steamTracker)