C# Class RangedAttacker, Endure

Inheritance: MonoBehaviour
Mostra 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_oe property

public GameObject arrow
return GameObject

arrowDelay public_oe property

public float arrowDelay
return float

bullet public_oe property

public GameObject bullet
return GameObject

bulletDelay public_oe property

public float bulletDelay
return float

damage public_oe property

public int damage
return int

knockback public_oe property

public float knockback
return float