Files
KopMap/Assets/NatureManufacture Assets/WorldStreamer/Scritps/Utils/ShaderWarm.cs

22 lines
377 B
C#
Raw Normal View History

2025-09-02 18:55:19 +08:00
using UnityEngine;
using System.Collections;
namespace WorldStreamer2
{
/// <summary>
/// Shader warm up.
/// </summary>
public class ShaderWarm : MonoBehaviour
{
/// <summary>
/// Start this instance, and warms up shaders.
/// </summary>
void Start()
{
Shader.WarmupAllShaders();
}
}
}