We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc80b91 commit be3c668Copy full SHA for be3c668
WeatherMod/WeatherMod/Mono/WaterDropsOnScreen.cs
@@ -6,13 +6,14 @@ namespace WeatherMod.Mono;
6
public class WaterDropsOnScreen : MonoBehaviour
7
{
8
private ParticleSystem _particleSystem;
9
- private Material _material;
+ // private Material _material;
10
private float _lastRateOverTime;
11
12
private void Awake()
13
14
_particleSystem = GetComponent<ParticleSystem>();
15
- _material = GetComponent<Renderer>().material;
+ _particleSystem.Play();
16
+ // _material = GetComponent<Renderer>().material;
17
18
_lastRateOverTime = GetRateOverTime();
19
SetRateOverTime(_lastRateOverTime);
0 commit comments