C# Class RangedAttacker, Endure

Inheritance: MonoBehaviour
Afficher le fichier Open project: Endure-Game/Endure Class Usage Examples

Méthodes publiques

Свойство Type Description
arrow GameObject
arrowDelay float
bullet GameObject
bulletDelay float
damage int
knockback float

Méthodes publiques

Méthode Description
Attack ( Vector3 towards ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
fireArrow ( Vector3 towards ) : IEnumerator
fireBullet ( Vector3 towards ) : IEnumerator

Method Details

Attack() public méthode

public Attack ( Vector3 towards ) : void
towards Vector3
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

arrow public_oe property

public GameObject arrow
Résultat GameObject

arrowDelay public_oe property

public float arrowDelay
Résultat float

bullet public_oe property

public GameObject bullet
Résultat GameObject

bulletDelay public_oe property

public float bulletDelay
Résultat float

damage public_oe property

public int damage
Résultat int

knockback public_oe property

public float knockback
Résultat float