C# Class WeatherBase, planet-survival

Inheritance: MonoBehaviour
Show file Open project: gjrfytn/planet-survival Class Usage Examples

Public Properties

Property Type Description
Camera Camera
EnableWind bool
ExplosionParticleSystem ParticleSystem
FallParticleSystem ParticleSystem
MistParticleSystem ParticleSystem
SoundHeavy UnityEngine.AudioClip
SoundLight UnityEngine.AudioClip
SoundMedium UnityEngine.AudioClip
WindChangeInterval Vector2
WindSound UnityEngine.AudioClip
WindSoundVolumeModifier float
WindSpeedRange Vector3
WindZone WindZone

Protected Properties

Property Type Description
audioSourceCurrent LoopingAudioSource,
audioSourceHeavy LoopingAudioSource,
audioSourceLight LoopingAudioSource,
audioSourceMedium LoopingAudioSource,
audioSourceWind LoopingAudioSource,
explosionMaterial Material
material Material
mistMaterial Material

Protected Methods

Method Description
MistEmissionRate ( ) : float
RainFallEmissionRate ( ) : float
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckForRainChange ( ) : void
UpdateWind ( ) : void

Method Details

MistEmissionRate() protected method

protected MistEmissionRate ( ) : float
return float

RainFallEmissionRate() protected method

protected RainFallEmissionRate ( ) : float
return float

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

Camera public property

public Camera Camera
return Camera

EnableWind public property

public bool EnableWind
return bool

ExplosionParticleSystem public property

public ParticleSystem ExplosionParticleSystem
return ParticleSystem

FallParticleSystem public property

public ParticleSystem FallParticleSystem
return ParticleSystem

MistParticleSystem public property

public ParticleSystem MistParticleSystem
return ParticleSystem

SoundHeavy public property

public AudioClip,UnityEngine SoundHeavy
return UnityEngine.AudioClip

SoundLight public property

public AudioClip,UnityEngine SoundLight
return UnityEngine.AudioClip

SoundMedium public property

public AudioClip,UnityEngine SoundMedium
return UnityEngine.AudioClip

WindChangeInterval public property

public Vector2 WindChangeInterval
return Vector2

WindSound public property

public AudioClip,UnityEngine WindSound
return UnityEngine.AudioClip

WindSoundVolumeModifier public property

public float WindSoundVolumeModifier
return float

WindSpeedRange public property

public Vector3 WindSpeedRange
return Vector3

WindZone public property

public WindZone WindZone
return WindZone

audioSourceCurrent protected property

protected LoopingAudioSource, audioSourceCurrent
return LoopingAudioSource,

audioSourceHeavy protected property

protected LoopingAudioSource, audioSourceHeavy
return LoopingAudioSource,

audioSourceLight protected property

protected LoopingAudioSource, audioSourceLight
return LoopingAudioSource,

audioSourceMedium protected property

protected LoopingAudioSource, audioSourceMedium
return LoopingAudioSource,

audioSourceWind protected property

protected LoopingAudioSource, audioSourceWind
return LoopingAudioSource,

explosionMaterial protected property

protected Material explosionMaterial
return Material

material protected property

protected Material material
return Material

mistMaterial protected property

protected Material mistMaterial
return Material