///////////////////////////////////////////////////////////////////////////////////// private void Awake() { _inputSet = new TouchInputSet(); _inputSet.capacity = _maxTouches; _inputSet.activeCount = 0; _inputSet.active = new bool[_maxTouches]; _inputSet.ignored = new bool[_maxTouches]; _inputSet.states = new TouchInputState[_maxTouches]; }
///////////////////////////////////////////////////////////////////////////////////// private void Awake() { _inputSet = new TouchInputSet(); _inputSet.capacity = MaxTouches; _inputSet.activeCount = 0; _inputSet.active = new bool[MaxTouches]; _inputSet.ignored = new bool[MaxTouches]; _inputSet.states = new TouchInputState[MaxTouches]; float minMoveOffset = Screen.dpi * moveInches; _sqrMoveThreshold = minMoveOffset * minMoveOffset; }