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
.
선언
public abstract bool IsShapeSource(in Component sourceComponent)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Component | sourceComponent | The component to test as a source |
반환
타입 | 설명 |
---|---|
bool | Returns true if sourceComponent is the data source of the |