Beispiel #1
0
 public abstract void TakeDamage(EnemyScript enemy);
Beispiel #2
0
 public override void TakeDamage(EnemyScript enemy)
 {
 }
Beispiel #3
0
 public abstract void Moving(EnemyScript enemyScript, Vector3 position);
Beispiel #4
0
 public override void Moving(EnemyScript enemyScript, Vector3 position)
 {
     //enemyScript.NavMeshAgentspeed = Random.value * MoveSpeed;
     enemyScript.NavMeshAgent.SetDestination(position);
 }