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