23 lines
349 B
C#
23 lines
349 B
C#
using UnityEngine;
|
|
|
|
public class DynamicSnow_Height_C : MonoBehaviour
|
|
{
|
|
private GameObject uniStormSystem;
|
|
|
|
public UniStormWeatherSystem_C uniStormSystemScript;
|
|
|
|
public float snowAmount;
|
|
|
|
private void Start()
|
|
{
|
|
if (base.transform.position.y > 375f)
|
|
{
|
|
Shader.SetGlobalFloat("_LayerStrength", 0.6f);
|
|
}
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
}
|
|
}
|