CIrcularTargetEnemy

Example of EnemyHealth.cs implementation. You can find a training target prefab at Assets/Cowsins/Prefabs/Models/TrainingTarget.prefab

  • movementDirection: Direction of the movement. Whenever it reaches the end, it will go the opposite direction

  • directionDuration: Amount of time that the target will keep moving on the same direction

  • speed: Target velocity magnitude

  • timeToRevive

Last updated