Files
UltimateFishing2020/Assets/Scripts/Assembly-CSharp/AQUAS/AQUAS_RenderQueueEditor.cs
2026-03-04 10:03:45 +08:00

17 lines
340 B
C#

using UnityEngine;
namespace AQUAS
{
[ExecuteInEditMode]
[AddComponentMenu("AQUAS/Utils/Render Queue Controller")]
public class AQUAS_RenderQueueEditor : MonoBehaviour
{
public int renderQueueIndex = -1;
private void Update()
{
base.gameObject.GetComponent<Renderer>().sharedMaterial.renderQueue = renderQueueIndex;
}
}
}