20 lines
347 B
C#
20 lines
347 B
C#
using KWS;
|
|
using UnityEngine;
|
|
|
|
public class KWS_CustomLoader : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private WaterSystemScriptableData _ProfileSetting;
|
|
|
|
private void Start()
|
|
{
|
|
WaterSystem component = GetComponent<WaterSystem>();
|
|
component.Settings = _ProfileSetting;
|
|
component.ForceUpdateWaterSettings();
|
|
}
|
|
|
|
private void Validate()
|
|
{
|
|
}
|
|
}
|