C# Class EnemyFighterController, SpaceCOG-Prototype

Inheritance: MonoBehaviour
Mostrar archivo Open project: kalby/SpaceCOG-Prototype Class Usage Examples

Public Properties

Property Type Description
lazer GameObject
lazerFireRate float
lazerHeatClimb float
lazerHeatDeficiency float
lazerHeatDissipate float
lazerOverheatPenalty float
lazerOverheatSound GameObject
lazerRange float
lazerSound GameObject
maxHealth float
missile GameObject
missileAmmo int
missileFireRate float
missileLaunchPoints Transform[]
missileRange float
missileSound GameObject
shipCollideSound GameObject
shipExplosionAnimation GameObject
shipExplosionSound GameObject
turrets Transform[]

Public Methods

Method Description
AddToScore ( int points ) : void
CheckForKill ( GameObject killingPlayer ) : void
Death ( ) : void
FireMissile ( ) : void
GotKillingBlow ( ) : void
Hit ( int damage ) : void
Kill ( ) : void
OnCollisionEnter ( Collision collision ) : void
OnTriggerEnter ( Collider collidedWith ) : void
OnTriggerExit ( Collider other ) : void
ShootLazer ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
ReplaceCapacitor ( float seconds ) : IEnumerator

Method Details

AddToScore() public method

public AddToScore ( int points ) : void
points int
return void

CheckForKill() public method

public CheckForKill ( GameObject killingPlayer ) : void
killingPlayer GameObject
return void

Death() public method

public Death ( ) : void
return void

FireMissile() public method

public FireMissile ( ) : void
return void

GotKillingBlow() public method

public GotKillingBlow ( ) : void
return void

Hit() public method

public Hit ( int damage ) : void
damage int
return void

Kill() public method

public Kill ( ) : void
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
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

ShootLazer() public method

public ShootLazer ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

lazer public_oe property

public GameObject lazer
return GameObject

lazerFireRate public_oe property

public float lazerFireRate
return float

lazerHeatClimb public_oe property

public float lazerHeatClimb
return float

lazerHeatDeficiency public_oe property

public float lazerHeatDeficiency
return float

lazerHeatDissipate public_oe property

public float lazerHeatDissipate
return float

lazerOverheatPenalty public_oe property

public float lazerOverheatPenalty
return float

lazerOverheatSound public_oe property

public GameObject lazerOverheatSound
return GameObject

lazerRange public_oe property

public float lazerRange
return float

lazerSound public_oe property

public GameObject lazerSound
return GameObject

maxHealth public_oe property

public float maxHealth
return float

missile public_oe property

public GameObject missile
return GameObject

missileAmmo public_oe property

public int missileAmmo
return int

missileFireRate public_oe property

public float missileFireRate
return float

missileLaunchPoints public_oe property

public Transform[] missileLaunchPoints
return Transform[]

missileRange public_oe property

public float missileRange
return float

missileSound public_oe property

public GameObject missileSound
return GameObject

shipCollideSound public_oe property

public GameObject shipCollideSound
return GameObject

shipExplosionAnimation public_oe property

public GameObject shipExplosionAnimation
return GameObject

shipExplosionSound public_oe property

public GameObject shipExplosionSound
return GameObject

turrets public_oe property

public Transform[] turrets
return Transform[]