Game.Prefabs.UIPollutionThresholds
Assembly: Assembly-CSharp.dll
Namespace: Game.Prefabs
Type: class
Base: System.Object
Summary:
A simple serializable container used to store UI pollution threshold values (low, medium, high). Marked with [Serializable] so it can be serialized by Unity when embedded in other serializable types (prefabs, scriptable objects, MonoBehaviours). Typically used to define cutoff values for pollution-related UI elements or settings.
Fields
-
public System.Int32 m_Low
Stores the integer threshold value considered "Low" pollution. Public fields are serialized by Unity. -
public System.Int32 m_Medium
Stores the integer threshold value considered "Medium" pollution. -
public System.Int32 m_High
Stores the integer threshold value considered "High" pollution.
Properties
This class does not define any properties; it exposes three public fields for serialization and direct access.
Constructors
public UIPollutionThresholds()
Implicit default constructor. Creates a new instance with the integer fields left at their default values (0) unless initialized elsewhere.
Methods
This class does not define any methods. It functions purely as a data container.
Usage Example
// Example: creating and using UIPollutionThresholds
var thresholds = new Game.Prefabs.UIPollutionThresholds();
thresholds.m_Low = 10;
thresholds.m_Medium = 50;
thresholds.m_High = 100;
// Assigned to a serializable field on a prefab or component, Unity will serialize these values.