Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/OutputDemo.cs
2026-02-21 16:45:37 +08:00

24 lines
400 B
C#

using UnityEngine;
[ExecuteInEditMode]
public class OutputDemo : MonoBehaviour
{
public AzureSky_Controller getOutput;
private Light thisLight;
private void Start()
{
thisLight = GetComponent<Light>();
}
private void Update()
{
if ((bool)getOutput)
{
thisLight.intensity = getOutput.AzureSkyGetCurveOutput(0);
thisLight.color = getOutput.AzureSkyGetGradientOutput(0);
}
}
}