Fixed PacMan speed
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log($"Switched to input direction {newResult} from analogInput {analogInput} with HorizontalPriority {horizontalPriority}");
|
||||
//Debug.Log($"Switched to input direction {newResult} from analogInput {analogInput} with HorizontalPriority {horizontalPriority}");
|
||||
|
||||
resultInput = newResult;
|
||||
networkManager.SendEventSoon(NetworkEventType.InputChange, true);
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
var normalized = analogInput.normalized;
|
||||
|
||||
Debug.Log($"Checking analogInput {analogInput} with HorizontalPriority {horizontalPriority}, normalized {normalized}");
|
||||
//Debug.Log($"Checking analogInput {analogInput} with HorizontalPriority {horizontalPriority}, normalized {normalized}");
|
||||
|
||||
const float directionDivider = 0.72f;
|
||||
if (normalized.x > directionDivider)
|
||||
|
||||
Reference in New Issue
Block a user