You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
541 B
21 lines
541 B
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); |
|
} |
|
} |
|
}
|
|
|