forked from Shardstone/trail-into-darkness
First commit on my server, yey!
This commit is contained in:
17
Assets/Code/Input/EditorInput.cs
Normal file
17
Assets/Code/Input/EditorInput.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Nox.Platform;
|
||||
|
||||
namespace Nox.Input {
|
||||
public class EditorInput : IInput {
|
||||
private readonly PlatformSettings platformSettings;
|
||||
|
||||
public EditorInput(PlatformSettings platformSettings) {
|
||||
this.platformSettings = platformSettings;
|
||||
}
|
||||
public void Initialize() {
|
||||
platformSettings.inputSettings.inputActions = new InputSystem_Actions();
|
||||
platformSettings.inputSettings.inputActions.Enable();
|
||||
}
|
||||
public void Tick() { }
|
||||
public void Dispose() { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user