Click or drag to resize

ProceduralWeatherLookup Class

A 'table' of lookup values describing the weather given a humidty and temperature variable Acts as a wrapper to a DoubleDictionary of type WeatherVariables,WeatherVariables,WeatherTypes This lets us have a nice inspector and a scriptable object, so we can have multiple setups stored as assets
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      WeatherSystemProceduralWeatherLookup

Namespace:  WeatherSystem
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class ProceduralWeatherLookup : ScriptableObject, 
	ISerializationCallbackReceiver

The ProceduralWeatherLookup type exposes the following members.

Constructors
  NameDescription
Public methodProceduralWeatherLookup
Initializes a new instance of the ProceduralWeatherLookup class
Top
Properties
  NameDescription
Public propertyhideFlags (Inherited from Object.)
Public propertyLookupTable
The internal DoubleDictionary that this object wraps
Public propertyname (Inherited from Object.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID (Inherited from Object.)
Public methodOnAfterDeserialize
Callback called after deserialization of the object occurs. The now deserialized lists of dictionary values are transferred back into the disctionary
Public methodOnBeforeSerialize
Callback called prior to serialization to allow the object to transfer the internal dictionary values to lists as Unity's serialization doesn't support generic (double)dictionary objects
Public methodSetDirty Obsolete. (Inherited from ScriptableObject.)
Public methodToString (Inherited from Object.)
Top
See Also