Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
PlayerBasicProjectileAttack Class Reference

Detailed Description

Deprecated
This was the original script that handled the player's basic projectile 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

Public Attributes

GameObject projectilePrefab
 
Transform attackPoint
 
float attackCooldown = 1f
 
PlayerAttackManager playerAttackManager
 

Private Member Functions

void Update ()
 

Private Attributes

float cooldownTimer = 0f
 

Member Function Documentation

◆ Update()

void PlayerBasicProjectileAttack.Update ( )
private

Member Data Documentation

◆ attackCooldown

float PlayerBasicProjectileAttack.attackCooldown = 1f

◆ attackPoint

Transform PlayerBasicProjectileAttack.attackPoint

◆ cooldownTimer

float PlayerBasicProjectileAttack.cooldownTimer = 0f
private

◆ playerAttackManager

PlayerAttackManager PlayerBasicProjectileAttack.playerAttackManager

◆ projectilePrefab

GameObject PlayerBasicProjectileAttack.projectilePrefab

The documentation for this class was generated from the following file: