WuhuIslandTesting/Library/PackageCache/com.unity.render-pipelines.universal@8148.0.7-4/Runtime/2D/Shadows/CompositeShadowCaster2D.cs
2025-01-07 02:06:59 +01:00

21 lines
541 B
C#

using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.Rendering.Universal
{
[AddComponentMenu("Rendering/2D/Composite Shadow Caster 2D")]
[MovedFrom("UnityEngine.Experimental.Rendering.Universal")]
[ExecuteInEditMode]
public class CompositeShadowCaster2D : ShadowCasterGroup2D
{
protected void OnEnable()
{
ShadowCasterGroup2DManager.AddGroup(this);
}
protected void OnDisable()
{
ShadowCasterGroup2DManager.RemoveGroup(this);
}
}
}