|
3D Dungeon Crawler
|
Public Member Functions | |
| override void | AttackPlayer () |
Public Member Functions inherited from EnemyAI | |
| void | SetBossSpawnPoint (Vector3 position) |
| void | SetSpawnPosition (Vector3 positon) |
| void | CreateNewWayPoint () |
| void | ResetAttack () |
| void | NextPoint () |
Additional Inherited Members | |
Public Attributes inherited from EnemyAI | |
| Transform | player |
| NavMeshAgent | enemy |
| float | walkSpeed = 3f |
| float | runSpeed = 5f |
| float | pushForce = 8f |
| int | attackDamage = 5 |
| float | wayPointRange = 10f |
| float | viewRadius = 15f |
| float | viewAngle = 90 |
| float | timeBetweenAttacks |
| bool | alreadyAttacked = false |
| float | sightRange |
| float | attackRange |
| bool | playerInSightRange |
| bool | playerInAttackRange |
| Vector3 | currentPlayerPosition |
| Vector3 | lastSeenPlayerPositon = Vector3.zero |
| LayerMask | playerLM |
| LayerMask | obstaclesLM |
| List< Vector3 > | wayPoints = new List<Vector3>() |
| int | numberOfWayPoints = 8 |
| int | currentWaypointIndex |
| float | startWaitTime = 2 |
| float | timeToRotate = 2 |
Protected Attributes inherited from EnemyAI | |
| Animator | animator |
|
virtual |
Reimplemented from EnemyAI.