C# Class Projectile, Castle-Bashers

Inheritance: MonoBehaviour
Afficher le fichier Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Méthodes publiques

Свойство Type Description
TimeToLive float
destroyOnCollision bool
destroyedParticle GameObject
destroyedSound AudioClip
projectileSpeed float

Méthodes publiques

Méthode Description
Shoot ( Vector3 dir ) : void
Start ( ) : void

Method Details

Shoot() public méthode

public Shoot ( Vector3 dir ) : void
dir Vector3
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

TimeToLive public_oe property

public float TimeToLive
Résultat float

destroyOnCollision public_oe property

public bool destroyOnCollision
Résultat bool

destroyedParticle public_oe property

public GameObject destroyedParticle
Résultat GameObject

destroyedSound public_oe property

public AudioClip destroyedSound
Résultat AudioClip

projectileSpeed public_oe property

public float projectileSpeed
Résultat float