Animation Controller

-Added rough animator diagram--needs more work
-Added a animator manager script to handle animation priority
This commit is contained in:
Evan Nydahl
2022-03-07 11:23:17 -06:00
parent 80ef5b3cda
commit d2f75987e8
16 changed files with 1235 additions and 133 deletions

View File

@@ -14,10 +14,12 @@ public class dDashDashingState : dDashBaseState
public override void EnterState(dDashStateManager dSM, dDashBaseState previousState){
currentDashTime = 0; // resets dash time
dSM.GetComponent<Animator>().SetBool("isDashing", true);
}
public override void ExitState(dDashStateManager dSM, dDashBaseState nextState){
moveDirection = Vector3.zero; // resets moveDirection
dSM.GetComponent<Animator>().SetBool("isDashing", false);
}
public override void UpdateState(dDashStateManager dSM){