public abstract void TakeDamage(EnemyScript enemy);
public override void TakeDamage(EnemyScript enemy) { }
public abstract void Moving(EnemyScript enemyScript, Vector3 position);
public override void Moving(EnemyScript enemyScript, Vector3 position) { //enemyScript.NavMeshAgentspeed = Random.value * MoveSpeed; enemyScript.NavMeshAgent.SetDestination(position); }