refactor: Update Unity to 2022.3.62
This commit is contained in:
@@ -74,8 +74,7 @@ namespace Cryville.Crtr.Config.UI {
|
||||
Dictionary<int, InputVector> _activeInputs;
|
||||
public void OnInputEvent(InputEvent ev) {
|
||||
var id = ev.Identifier.Id;
|
||||
InputVector lastVec;
|
||||
if (!_activeInputs.TryGetValue(id, out lastVec)) {
|
||||
if (!_activeInputs.TryGetValue(id, out InputVector lastVec)) {
|
||||
if (ev.To.IsNull) return;
|
||||
_activeInputs.Add(id, lastVec = ev.To.Vector);
|
||||
}
|
||||
|
Reference in New Issue
Block a user