public Tracker controllerRight; // Moved to Controls; used with player input /* * Note to self: careful with swapping hands, as the input * controls (with the thumbsticks, buttons, and such) should * stay the same. Only the saber placement should change. * That's not to say that controls shouldn't be customizable. */ public Controls(Device deviceBase, Player player) { this.owner = player; this.device = deviceBase; InputCheck(); }
/// <summary> /// Called by SixenseCore.Device /// </summary> internal Tracker(Device device, int index) { m_device = device; m_Index = index; m_pastData = new PluginTypes.TrackedDeviceData[Device.HistorySize]; }
private void Start() { device = coreDevice.GetComponent <SixenseCore.Device>(); WorldAnchorStore.GetAsync(AnchorStoreReady); }