public void SetEndAttack(float f) { StartCoroutine(EnemyCtrl.WaitTimeAction(f, () => EndAttack())); }