Class PlayerWeather
Script to play weather effects over player.
Allows weather to be attached elsewhere than a child of player (such as exterior parent).
In multiplayer do not sync weather particle effects to other players.
Inheritance
PlayerWeather
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(PlayerGPS))]
[RequireComponent(typeof(PlayerEnterExit))]
public class PlayerWeather : MonoBehaviour
Fields
|
Improve this Doc
View Source
ClimateWeathers
Declaration
public byte[] ClimateWeathers
Field Value
|
Improve this Doc
View Source
RainParticles
Declaration
public GameObject RainParticles
Field Value
|
Improve this Doc
View Source
SnowParticles
Declaration
public GameObject SnowParticles
Field Value
|
Improve this Doc
View Source
WeatherType
Declaration
public WeatherType WeatherType
Field Value
Properties
|
Improve this Doc
View Source
PlayerGps
Declaration
public PlayerGPS PlayerGps { get; }
Property Value
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)