Files
Learning-UnityNGO/Assets/ASSETS/Mirza/AERO - Volumetric Fog and Mist/Scripts/CustomRenderTextureUpdater.cs
T
2026-07-06 18:01:21 +03:00

22 lines
475 B
C#

using UnityEngine;
namespace Mirza.AERO
{
// May require domain reloading to be enabled.
// Scene mode can apparently mess it up, otherwise.
// So at least hiding scene views and then playing
// will fix the updater and it will work as normal.
[ExecuteAlways]
public class CustomRenderTextureUpdater : MonoBehaviour
{
public CustomRenderTexture texture;
void Update()
{
texture.Update(1);
}
}
}