Class CompositeShadowCaster2D
Class for 2D composite shadow casters.
Inheritance
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.2D.Runtime.dll
Syntax
[CoreRPHelpURL("2DShadows", "com.unity.render-pipelines.universal")]
[AddComponentMenu("Rendering/2D/Composite Shadow Caster 2D")]
[MovedFrom(false, "UnityEngine.Experimental.Rendering.Universal", "com.unity.render-pipelines.universal", null)]
[ExecuteInEditMode]
public class CompositeShadowCaster2D : ShadowCasterGroup2D
Methods
OnDisable()
This function is called when the behaviour becomes disabled.
Declaration
protected void OnDisable()
OnEnable()
This function is called when the object becomes enabled and active.
Declaration
protected void OnEnable()