C# Class ProjectStorms.Countermeasures

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

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

public Awake ( ) : void
Résultat void

FacePad() public méthode

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
Résultat void

SpawnChaff() public méthode

public SpawnChaff ( ) : void
Résultat void

SpawnMissile() public méthode

public SpawnMissile ( ) : void
Résultat void

SpawnPinwheel() public méthode

public SpawnPinwheel ( ) : void
Résultat void

SpawnSkyMine() public méthode

public SpawnSkyMine ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

announcerText public_oe property

public UI_Controller,ProjectStorms announcerText
Résultat UI_Controller

chaffCooldown public_oe property

public float chaffCooldown
Résultat float

chaffPrefab public_oe property

public GameObject,UnityEngine chaffPrefab
Résultat UnityEngine.GameObject

gotPickup public_oe property

public bool gotPickup
Résultat bool

minesCooldown public_oe property

public float minesCooldown
Résultat float

missileCooldown public_oe property

public float missileCooldown
Résultat float

missilePrefab public_oe property

Current powerup cooldown.
public GameObject,UnityEngine missilePrefab
Résultat UnityEngine.GameObject

pinwheelCooldown public_oe property

public float pinwheelCooldown
Résultat float

pinwheelPrefab public_oe property

public GameObject,UnityEngine pinwheelPrefab
Résultat UnityEngine.GameObject

pooledChaff public_oe property

public int pooledChaff
Résultat int

pooledMissiles public_oe property

public int pooledMissiles
Résultat int

pooledPinwheels public_oe property

public int pooledPinwheels
Résultat int

pooledSkyMines public_oe property

public int pooledSkyMines
Résultat int

powerUpCooldown public_oe property

Time between each powerup.
public float powerUpCooldown
Résultat float

skyMinePrefab public_oe property

public GameObject,UnityEngine skyMinePrefab
Résultat UnityEngine.GameObject