Skip to content

Make DisposableLifetimeHelper.DisposeOnDestroy work properly on never-enabled objects. #30

@nadako

Description

@nadako

It's kinda edge-casey and it's a bit annoying to implement, but should be possible, since gameObject == null returns true if GO was destroyed, we can add a playerloop hook to poll this condition until it's true and call OnDestroy manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions