- Deprecated
- This was the original script that handled the player's basic melee attack. Now, this is handled by PlayerAttackManager. Please use PlayerAttackManager instead of this script. It has been disconnected from the player object and will not work.
Documentation updated 8/30/2024
- Author
- Stephen Nuttall
◆ ActivateAttack()
| void PlayerBasicMelee.ActivateAttack |
( |
| ) |
|
|
private |
◆ Attack()
| void PlayerBasicMelee.Attack |
( |
| ) |
|
|
private |
◆ Awake()
| void PlayerBasicMelee.Awake |
( |
| ) |
|
|
private |
◆ OnDrawGizmosSelected()
| void PlayerBasicMelee.OnDrawGizmosSelected |
( |
| ) |
|
|
private |
◆ Update()
| void PlayerBasicMelee.Update |
( |
| ) |
|
|
private |
◆ animator
| Animator PlayerBasicMelee.animator |
◆ attackableLayers
| LayerMask PlayerBasicMelee.attackableLayers |
◆ attackCooldown
| float PlayerBasicMelee.attackCooldown = 1f |
◆ attackPoint
| Transform PlayerBasicMelee.attackPoint |
◆ attackRange
| float PlayerBasicMelee.attackRange = 0.5f |
◆ cooldownTimer
| float PlayerBasicMelee.cooldownTimer = 0f |
|
private |
◆ playerStats
The documentation for this class was generated from the following file: