This commit is contained in:
2025-05-10 18:06:44 +08:00
parent e010759358
commit dea9a4f58e
47 changed files with 421 additions and 359 deletions

View File

@@ -37,7 +37,7 @@ namespace Rewired.Demos.CustomPlatform {
}
private void CheckForJoystickChanges() {
double time = ReInput.time.unscaledTime;
double time = Rewired.ReInput.time.unscaledTime;
if (time >= _nextJoystickCheckTime) {
_nextJoystickCheckTime = time + joystickCheckInterval;
if (DidJoysticksChange()) {
@@ -159,7 +159,7 @@ namespace Rewired.Demos.CustomPlatform {
/// A represenatation of low-level system joystick.
/// This could provide an interface to a native input API, for example.
/// </summary>
public class Joystick : Interfaces.IControllerVibrator {
public class Joystick : Rewired.Interfaces.IControllerVibrator {
private const int maxJoysticks = 8;
private const int maxAxes = 10;