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