docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnPersistantDataCreated

    OnPersistantDataCreated(in Component, ShadowShape2D)

    Called when the ShadowShape2DProvider is selected as the active Casting Option.

    Declaration
    public abstract void OnPersistantDataCreated(in Component sourceComponent, ShadowShape2D persistantShadowShape)
    Parameters
    Type Name Description
    Component sourceComponent

    The component associated with the provider

    ShadowShape2D persistantShadowShape

    An instance of ShadowShape2D that is used by the ShadowCaster2D

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)