20 lines
426 B
C#
20 lines
426 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class RainSettings
|
|
{
|
|
public bool RainEnabled;
|
|
|
|
[Tooltip("Whether each rain drop should have a random force.")]
|
|
public bool RandomRainForce;
|
|
|
|
[Tooltip("Number of rain drops per second.")]
|
|
[Range(1f, 60f)]
|
|
public float RainSpeed = 30f;
|
|
|
|
[Tooltip("Force multiplier for Rain drops when not using random force.")]
|
|
[Range(0.01f, 1f)]
|
|
public float RainForce = 0.5f;
|
|
}
|