public void checkForDamageFrame() { if (isAttack) { if (currentSpriteFrame == attackController.currentDamageFrame[attackFrameCheck]) { attackController.ApplyDamage(attackFrameCheck); attackFrameCheck++; } } }
public void checkForDamageFrame() { if (isAttack) { if (currentSpriteFrame == attackController.currentDamageFrame[attackFrameCheck]) { attackController.ApplyDamage(attackFrameCheck); attackFrameCheck++; } } }