C# Class ProjectStorms.PrisonFortressKlaxonWarning

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: patferguson/Storms-Project

Public Properties

Property 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

Public Methods

Method 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

Method Description
LaserOff ( ) : void
LaserOn ( ) : void
UpdateFortressStates ( ) : void

State management for the prison fortress.

UpdateSpawnerLaserColour ( Color a_baseColour ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

ClampLights() public method

public ClampLights ( ) : void
return void

Spawning() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Warning() public method

Warning is called before Spawning.
public Warning ( ) : void
return void

Property Details

fortressState public_oe property

public EFortressStates fortressState
return EFortressStates

hullLight public_oe property

public Light,UnityEngine hullLight
return UnityEngine.Light

hullPassengerSpawn public_oe property

public SpawnPassengers,ProjectStorms hullPassengerSpawn
return SpawnPassengers

klaxonSound public_oe property

public AudioClip,UnityEngine klaxonSound
return UnityEngine.AudioClip

maxLightIntensity public_oe property

public float maxLightIntensity
return float

myLaser public_oe property

public Renderer,UnityEngine myLaser
return UnityEngine.Renderer

numberOfTimesKlaxonShouldSound public_oe property

public int numberOfTimesKlaxonShouldSound
return int

prisonAnim public_oe property

public Animator,UnityEngine prisonAnim
return UnityEngine.Animator

timeBeforeFirstDrop public_oe property

public float timeBeforeFirstDrop
return float

timeBetweenPrisonerDrops public_oe property

public float timeBetweenPrisonerDrops
return float

timePassengerSpawnFor public_oe property

public float timePassengerSpawnFor
return float