diff options
Diffstat (limited to 'Assets/Scripts/Avatar/States/UberState.cs')
-rw-r--r-- | Assets/Scripts/Avatar/States/UberState.cs | 12 |
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(); + +} |