summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Input
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Input')
-rw-r--r--Assets/Scripts/Input/InputManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Assets/Scripts/Input/InputManager.cs b/Assets/Scripts/Input/InputManager.cs
index 771032a8..f24a3efa 100644
--- a/Assets/Scripts/Input/InputManager.cs
+++ b/Assets/Scripts/Input/InputManager.cs
@@ -5,6 +5,13 @@ using UnityEngine;
public class InputManager : Singleton<InputManager>
{
private List<Command> m_CommandRecord;
+ public List<Command> CommandRecord
+ {
+ get
+ {
+ return m_CommandRecord;
+ }
+ }
private readonly int kCommandRecords = 10;
// 本帧内的指令,会在下一帧被清空