C# Class WeaponScript, ProjetUnity

Inheritance: MonoBehaviour
Afficher le fichier Open project: MartinsDavid/ProjetUnity Class Usage Examples

Méthodes publiques

Свойство Type Description
projectileSound AudioClip
shootingRate float
shotPrefab Transform

Méthodes publiques

Méthode Description
Attack ( bool isEnemy ) : void

Create a new projectile if possible

Start ( ) : void
Update ( ) : void

Method Details

Attack() public méthode

Create a new projectile if possible
public Attack ( bool isEnemy ) : void
isEnemy bool
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

projectileSound public_oe property

public AudioClip projectileSound
Résultat AudioClip

shootingRate public_oe property

public float shootingRate
Résultat float

shotPrefab public_oe property

public Transform shotPrefab
Résultat Transform