Method IsShapeSource
IsShapeSource(in Component)
Called for each component on a ShadowCaster2D's GameObject. Returns true if the provided component is the data source of the ShadowShapeProvider.
Declaration
public abstract bool IsShapeSource(in Component sourceComponent)
Parameters
| Type | Name | Description |
|---|---|---|
| Component | sourceComponent | The component to test as a source |
Returns
| Type | Description |
|---|---|
| bool | Returns true if sourceComponent is the data source of the |