upload
This commit is contained in:
18
KeyboardInput/README.md
Normal file
18
KeyboardInput/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
### 键盘映射表类
|
||||
|
||||
```csharp
|
||||
public class KeyMapping
|
||||
{
|
||||
public string actionName;
|
||||
public KeyCode keyCode;
|
||||
|
||||
public KeyMapping(string actionName, KeyCode keyCode)
|
||||
{
|
||||
this.actionName = actionName;
|
||||
this.keyCode = keyCode;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
<code>KeySettingManager</code>为单例类
|
||||
//todo
|
||||
Reference in New Issue
Block a user