(Update) Clean Projet

This commit is contained in:
2026-06-24 14:38:51 +02:00
parent 48588ccfed
commit ef01552268
2629 changed files with 1523 additions and 430219 deletions
@@ -0,0 +1,22 @@
using System;
using UnityEngine;
namespace StylizedWater3
{
[ExecuteAlways]
[AddComponentMenu("Stylized Water 3/Global Wave Origin Offset")]
public class SetGlobalWaveOriginOffset : MonoBehaviour
{
private readonly int _GlobalWaveOriginOffset = Shader.PropertyToID("_GlobalWaveOriginOffset");
private void Update()
{
Shader.SetGlobalVector(_GlobalWaveOriginOffset, this.transform.position);
}
private void OnDisable()
{
Shader.SetGlobalVector(_GlobalWaveOriginOffset, Vector3.zero);
}
}
}