Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Projectile
C# Class Projectile, Castle-Bashers
Inheritance:
MonoBehaviour
Show file
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 property
public
float
TimeToLive
return
float
destroyOnCollision
public property
public
bool
destroyOnCollision
return
bool
destroyedParticle
public property
public
GameObject
destroyedParticle
return
GameObject
destroyedSound
public property
public
AudioClip
destroyedSound
return
AudioClip
projectileSpeed
public property
public
float
projectileSpeed
return
float