提交
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Rewired.Demos.CustomPlatform {
|
||||
/// If multi-threaded input is required, input should be read on a separate thread, enqueued,
|
||||
/// and consumed by the Joystick/Controller on Update in a thread-safe manner (mutex).
|
||||
/// </summary>
|
||||
public sealed class MyPlatformInputSource : Platforms.Custom.CustomPlatformInputSource {
|
||||
public sealed class MyPlatformInputSource : Rewired.Platforms.Custom.CustomPlatformInputSource {
|
||||
|
||||
/// <summary>
|
||||
/// Source of joysticks. This is just for this example.
|
||||
@@ -40,7 +40,7 @@ namespace Rewired.Demos.CustomPlatform {
|
||||
/// Constructor.
|
||||
/// </summary>
|
||||
/// <param name="configVars">Custom platform configuration variables</param>
|
||||
public MyPlatformInputSource(Platforms.Custom.CustomPlatformConfigVars configVars) :
|
||||
public MyPlatformInputSource(Rewired.Platforms.Custom.CustomPlatformConfigVars configVars) :
|
||||
base(
|
||||
configVars,
|
||||
new InitOptions() {
|
||||
@@ -184,7 +184,7 @@ namespace Rewired.Demos.CustomPlatform {
|
||||
/// <summary>
|
||||
/// Example Joystick implementation that supports vibration.
|
||||
/// </summary>
|
||||
new public sealed class Joystick : Rewired.Platforms.Custom.CustomPlatformInputSource.Joystick, Interfaces.IControllerVibrator {
|
||||
new public sealed class Joystick : Rewired.Platforms.Custom.CustomPlatformInputSource.Joystick, Rewired.Interfaces.IControllerVibrator {
|
||||
|
||||
private UnityInputJoystickSource.Joystick _sourceJoystick;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user