提交
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user