C# Class ProjectileMissile, SpaceCOG-Prototype

Inheritance: MonoBehaviour
Exibir arquivo Open project: kalby/SpaceCOG-Prototype

Public Properties

Property Type Description
damage int
explodeAnimation GameObject
missileLaunchSpeed float
points int
range float

Public Methods

Method Description
FixedUpdate ( ) : void
OnTriggerEnter ( Collider collidedWith ) : void
OnTriggerExit ( Collider other ) : void
SetPlayer ( GameObject player ) : void
SetRange ( float newRange ) : void
Start ( ) : void
Update ( ) : void
acquireTarget ( ) : void

Private Methods

Method Description
PlayClipAt ( AudioClip clip, Vector3 pos ) : AudioSource

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider collidedWith ) : void
collidedWith Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

SetPlayer() public method

public SetPlayer ( GameObject player ) : void
player GameObject
return void

SetRange() public method

public SetRange ( float newRange ) : void
newRange float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

acquireTarget() public method

public acquireTarget ( ) : void
return void

Property Details

damage public_oe property

public int damage
return int

explodeAnimation public_oe property

public GameObject explodeAnimation
return GameObject

missileLaunchSpeed public_oe property

public float missileLaunchSpeed
return float

points public_oe property

public int points
return int

range public_oe property

public float range
return float