C# Class EnemyPlayerController, SpaceCOG-Prototype

Inheritance: MonoBehaviour
Mostra file Open project: kalby/SpaceCOG-Prototype Class Usage Examples

Public Properties

Property Type Description
fireRate float
health float
lazer GameObject
lazerRange float
lazerSpeed float
shipExplosion GameObject
turrets Transform[]

Public Methods

Method Description
AddToScore ( int points ) : void
Hit ( int damage ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void
Update ( ) : void

Method Details

AddToScore() public method

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

Hit() public method

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

OnTriggerEnter() public method

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

OnTriggerExit() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

fireRate public_oe property

public float fireRate
return float

health public_oe property

public float health
return float

lazer public_oe property

public GameObject lazer
return GameObject

lazerRange public_oe property

public float lazerRange
return float

lazerSpeed public_oe property

public float lazerSpeed
return float

shipExplosion public_oe property

public GameObject shipExplosion
return GameObject

turrets public_oe property

public Transform[] turrets
return Transform[]