27 lines
681 B
C#
27 lines
681 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class EnviroQualitySettings
|
|
{
|
|
public enum CloudQuality
|
|
{
|
|
None = 0,
|
|
OneLayer = 1,
|
|
TwoLayer = 2
|
|
}
|
|
|
|
[Tooltip("How many layers of clouds that should be rendered.")]
|
|
public CloudQuality CloudsQuality;
|
|
|
|
[Tooltip("Whether clouds should cast shadows.")]
|
|
public bool CloudsShadowCast = true;
|
|
|
|
[Tooltip("Modifies the amount of particles used in weather effects.")]
|
|
[Range(0f, 1f)]
|
|
public float GlobalParticleEmissionRates = 1f;
|
|
|
|
[Tooltip("How often Enviro Growth Instances should be updated. Lower value = smoother growth and more frequent updates but more perfomance hungry!")]
|
|
public float UpdateInterval = 0.5f;
|
|
}
|