Looks like I fixed the bug where the enemy arms wouldnt move when attacking

This commit is contained in:
Gregory Campbell
2020-08-09 15:23:15 -04:00
parent 8b417edf12
commit ef707245bf
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -123,8 +123,8 @@ AnimatorStateTransition:
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0.0030431175
m_ExitTime: 0.7242597
m_TransitionOffset: 0
m_ExitTime: 1
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
@@ -19,7 +19,7 @@ AnimatorStateTransition:
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0.9970888
m_ExitTime: 1
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
+2
View File
@@ -1188,6 +1188,8 @@ public class GMScript : MonoBehaviour
yield return new WaitForSeconds(
enemyAttackAnim.GetCurrentAnimatorStateInfo(0).length*0.45f);
enemyAttackAnim.SetTrigger("AttackTrigger");
}
IEnumerator PreAttackBuffAnimEnemy()