1234567891011121314151617181920212223 |
- using UnityEngine;
- using Valve.VR;
- namespace Tracking
- {
- public class KineticLegTracker : CalibratableTracker, IViveTracker
- {
- public bool calibrateOnStart = true;
- public string id;
- public string Id => id;
- public SteamVR_TrackedObject TrackedObject => GetComponent<SteamVR_TrackedObject>();
- protected override string KeyPrefix => "kl";
-
- protected override void Start()
- {
- base.Start();
- if (calibrateOnStart)
- {
- Calibrate();
- }
- }
- }
- }
|