diff options
author | chai <chaifix@163.com> | 2020-10-15 07:24:10 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-15 07:24:10 +0800 |
commit | e846c64d6f927879cb8a095e62d773a8d7b3c9f4 (patch) | |
tree | 7882744bbf2b6c7096ec15fb300f088c5a0807c5 /Assets/Scripts/Input/Command.cs | |
parent | cd12e74241678ee3c0752484d310b202187ba24c (diff) |
*ability system
Diffstat (limited to 'Assets/Scripts/Input/Command.cs')
-rw-r--r-- | Assets/Scripts/Input/Command.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Assets/Scripts/Input/Command.cs b/Assets/Scripts/Input/Command.cs index 5ac2c2a0..7649af58 100644 --- a/Assets/Scripts/Input/Command.cs +++ b/Assets/Scripts/Input/Command.cs @@ -24,11 +24,13 @@ public struct Command { public CommandCode code; // 指令码 public float time; // 触发时间 + public int id; public Command(CommandCode code, float time) { this.code = code; this.time = time; + this.id = UIDManager.Acquire(); } } |