C# Class WeatherBase, planet-survival

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

public Camera Camera
return Camera

EnableWind public_oe property

public bool EnableWind
return bool

ExplosionParticleSystem public_oe property

public ParticleSystem ExplosionParticleSystem
return ParticleSystem

FallParticleSystem public_oe property

public ParticleSystem FallParticleSystem
return ParticleSystem

MistParticleSystem public_oe property

public ParticleSystem MistParticleSystem
return ParticleSystem

SoundHeavy public_oe property

public AudioClip,UnityEngine SoundHeavy
return UnityEngine.AudioClip

SoundLight public_oe property

public AudioClip,UnityEngine SoundLight
return UnityEngine.AudioClip

SoundMedium public_oe property

public AudioClip,UnityEngine SoundMedium
return UnityEngine.AudioClip

WindChangeInterval public_oe property

public Vector2 WindChangeInterval
return Vector2

WindSound public_oe property

public AudioClip,UnityEngine WindSound
return UnityEngine.AudioClip

WindSoundVolumeModifier public_oe property

public float WindSoundVolumeModifier
return float

WindSpeedRange public_oe property

public Vector3 WindSpeedRange
return Vector3

WindZone public_oe property

public WindZone WindZone
return WindZone

audioSourceCurrent protected_oe property

protected LoopingAudioSource, audioSourceCurrent
return LoopingAudioSource,

audioSourceHeavy protected_oe property

protected LoopingAudioSource, audioSourceHeavy
return LoopingAudioSource,

audioSourceLight protected_oe property

protected LoopingAudioSource, audioSourceLight
return LoopingAudioSource,

audioSourceMedium protected_oe property

protected LoopingAudioSource, audioSourceMedium
return LoopingAudioSource,

audioSourceWind protected_oe property

protected LoopingAudioSource, audioSourceWind
return LoopingAudioSource,

explosionMaterial protected_oe property

protected Material explosionMaterial
return Material

material protected_oe property

protected Material material
return Material

mistMaterial protected_oe property

protected Material mistMaterial
return Material