Singularity/Library/PackageCache/com.unity.render-pipelines..../Runtime/2D/Shadows/CompositeShadowCaster2D.cs

22 lines
541 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
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);
}
}
}