C# Class RangedAttacker, Endure

Inheritance: MonoBehaviour
Show file Open project: Endure-Game/Endure Class Usage Examples

Public Properties

Property Type Description
arrow GameObject
arrowDelay float
bullet GameObject
bulletDelay float
damage int
knockback float

Public Methods

Method Description
Attack ( Vector3 towards ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
fireArrow ( Vector3 towards ) : IEnumerator
fireBullet ( Vector3 towards ) : IEnumerator

Method Details

Attack() public method

public Attack ( Vector3 towards ) : void
towards Vector3
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

arrow public property

public GameObject arrow
return GameObject

arrowDelay public property

public float arrowDelay
return float

bullet public property

public GameObject bullet
return GameObject

bulletDelay public property

public float bulletDelay
return float

damage public property

public int damage
return int

knockback public property

public float knockback
return float