C# Class ProjectStorms.PrisonFortressKlaxonWarning

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: patferguson/Storms-Project

Méthodes publiques

Свойство Type Description
fortressState EFortressStates
hullLight UnityEngine.Light
hullPassengerSpawn SpawnPassengers
klaxonSound UnityEngine.AudioClip
maxLightIntensity float
myLaser UnityEngine.Renderer
numberOfTimesKlaxonShouldSound int
prisonAnim UnityEngine.Animator
timeBeforeFirstDrop float
timeBetweenPrisonerDrops float
timePassengerSpawnFor float

Méthodes publiques

Méthode Description
Awake ( ) : void
ClampLights ( ) : void
Spawning ( ) : void

Spawning is called repeatedly for a bit, before returning to Warning.

Start ( ) : void
Update ( ) : void
Warning ( ) : void

Warning is called before Spawning.

Private Methods

Méthode Description
LaserOff ( ) : void
LaserOn ( ) : void
UpdateFortressStates ( ) : void

State management for the prison fortress.

UpdateSpawnerLaserColour ( Color a_baseColour ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

ClampLights() public méthode

public ClampLights ( ) : void
Résultat void

Spawning() public méthode

Spawning is called repeatedly for a bit, before returning to Warning.
public Spawning ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Warning() public méthode

Warning is called before Spawning.
public Warning ( ) : void
Résultat void

Property Details

fortressState public_oe property

public EFortressStates fortressState
Résultat EFortressStates

hullLight public_oe property

public Light,UnityEngine hullLight
Résultat UnityEngine.Light

hullPassengerSpawn public_oe property

public SpawnPassengers,ProjectStorms hullPassengerSpawn
Résultat SpawnPassengers

klaxonSound public_oe property

public AudioClip,UnityEngine klaxonSound
Résultat UnityEngine.AudioClip

maxLightIntensity public_oe property

public float maxLightIntensity
Résultat float

myLaser public_oe property

public Renderer,UnityEngine myLaser
Résultat UnityEngine.Renderer

numberOfTimesKlaxonShouldSound public_oe property

public int numberOfTimesKlaxonShouldSound
Résultat int

prisonAnim public_oe property

public Animator,UnityEngine prisonAnim
Résultat UnityEngine.Animator

timeBeforeFirstDrop public_oe property

public float timeBeforeFirstDrop
Résultat float

timeBetweenPrisonerDrops public_oe property

public float timeBetweenPrisonerDrops
Résultat float

timePassengerSpawnFor public_oe property

public float timePassengerSpawnFor
Résultat float