C# Class Projectile, Castle-Bashers

Inheritance: MonoBehaviour
ファイルを表示 Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Public Properties

Property Type Description
TimeToLive float
destroyOnCollision bool
destroyedParticle GameObject
destroyedSound AudioClip
projectileSpeed float

Public Methods

Method Description
Shoot ( Vector3 dir ) : void
Start ( ) : void

Method Details

Shoot() public method

public Shoot ( Vector3 dir ) : void
dir Vector3
return void

Start() public method

public Start ( ) : void
return void

Property Details

TimeToLive public_oe property

public float TimeToLive
return float

destroyOnCollision public_oe property

public bool destroyOnCollision
return bool

destroyedParticle public_oe property

public GameObject destroyedParticle
return GameObject

destroyedSound public_oe property

public AudioClip destroyedSound
return AudioClip

projectileSpeed public_oe property

public float projectileSpeed
return float