static void Init() { //Debug.Log("init!"); if (initialised) { return; } initialised = true; _totalPossibleDeviceSlots = System.Enum.GetValues(typeof(InputDeviceSlot)).Length; zeroInputWaits = new float[_totalPossibleDeviceSlots]; zeroInputs = new bool[_totalPossibleDeviceSlots]; _xr = new SinputSystems.XR.SinputXR(); }
public static void Init() { if (!initialized) { initialized = true; } else { return; } Debug.Log("Initializing SInput"); totalPossibleDeviceSlots = Enum.GetValues(typeof(SinputSystems.InputDeviceSlot)).Length; zeroInputWaits = new float[totalPossibleDeviceSlots]; zeroInputs = new bool[totalPossibleDeviceSlots]; _xr = new SinputSystems.XR.SinputXR(); }