C# Class ProjectStorms.Countermeasures

Pool, activate and keep track of the different countermeasures/weapons.
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: patferguson/Storms-Project Class Usage Examples

Public Properties

Property Type Description
announcerText UI_Controller
chaffCooldown float
chaffPrefab UnityEngine.GameObject
gotPickup bool
minesCooldown float
missileCooldown float
missilePrefab UnityEngine.GameObject
pinwheelCooldown float
pinwheelPrefab UnityEngine.GameObject
pooledChaff int
pooledMissiles int
pooledPinwheels int
pooledSkyMines int
powerUpCooldown float
skyMinePrefab UnityEngine.GameObject

Public Methods

Method Description
Awake ( ) : void
FacePad ( bool a_faceDown, bool a_faceUp, bool a_faceLeft, bool a_faceRight ) : void
SpawnChaff ( ) : void
SpawnMissile ( ) : void
SpawnPinwheel ( ) : void
SpawnSkyMine ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

FacePad() public method

public FacePad ( bool a_faceDown, bool a_faceUp, bool a_faceLeft, bool a_faceRight ) : void
a_faceDown bool
a_faceUp bool
a_faceLeft bool
a_faceRight bool
return void

SpawnChaff() public method

public SpawnChaff ( ) : void
return void

SpawnMissile() public method

public SpawnMissile ( ) : void
return void

SpawnPinwheel() public method

public SpawnPinwheel ( ) : void
return void

SpawnSkyMine() public method

public SpawnSkyMine ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

announcerText public property

public UI_Controller,ProjectStorms announcerText
return UI_Controller

chaffCooldown public property

public float chaffCooldown
return float

chaffPrefab public property

public GameObject,UnityEngine chaffPrefab
return UnityEngine.GameObject

gotPickup public property

public bool gotPickup
return bool

minesCooldown public property

public float minesCooldown
return float

missileCooldown public property

public float missileCooldown
return float

missilePrefab public property

Current powerup cooldown.
public GameObject,UnityEngine missilePrefab
return UnityEngine.GameObject

pinwheelCooldown public property

public float pinwheelCooldown
return float

pinwheelPrefab public property

public GameObject,UnityEngine pinwheelPrefab
return UnityEngine.GameObject

pooledChaff public property

public int pooledChaff
return int

pooledMissiles public property

public int pooledMissiles
return int

pooledPinwheels public property

public int pooledPinwheels
return int

pooledSkyMines public property

public int pooledSkyMines
return int

powerUpCooldown public property

Time between each powerup.
public float powerUpCooldown
return float

skyMinePrefab public property

public GameObject,UnityEngine skyMinePrefab
return UnityEngine.GameObject