summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Avatar/States/UberState.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-11-16 08:30:54 +0800
committerchai <chaifix@163.com>2020-11-16 08:30:54 +0800
commitf325841eff10ae492ce6c634d4b07cf058a068c6 (patch)
tree980d81a4b87d571fcb893fc44f8809af97466bca /Assets/Scripts/Avatar/States/UberState.cs
parentbe3ca8b172f22ce7c4c4316745e0df05de58b069 (diff)
*state system
Diffstat (limited to 'Assets/Scripts/Avatar/States/UberState.cs')
-rw-r--r--Assets/Scripts/Avatar/States/UberState.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Assets/Scripts/Avatar/States/UberState.cs b/Assets/Scripts/Avatar/States/UberState.cs
new file mode 100644
index 00000000..a0b6d940
--- /dev/null
+++ b/Assets/Scripts/Avatar/States/UberState.cs
@@ -0,0 +1,12 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+// 一个角色只能有一个uber state,用来处理状态的自动切换
+public abstract class UberState : StateBase
+{
+ public abstract void OnUpdate();
+
+ public abstract void OnPhysicsUpdate();
+
+}