Skip to content

Collapse and decollapse icon still shown even though there's no child in the drawer #57

@Rhitomaic

Description

@Rhitomaic

Description of the bug

I used the GameObjectFilter feature in RuntimeHierarchy to hide billboard objects with this script

hierarchy.GameObjectFilter += (Transform obj) => {
    return obj.GetComponent<BillboardSprite>() == null;
};

But it still shows the collapse and decollapse icon
image

Reproduction steps

  • Create a GameObject and RuntimeHierarchy
  • Create a child for the GameObject
  • Filter the child of the GameObject so that all of the childs in the GameObject won't be shown in the hierarchy using GameObjectFilter
  • Done, collapse and decollapse icon is still shown in the RuntimeHierarchy even though all the childs are filtered

Platform specs

Please provide the following info if this is a Unity 3D repository.

  • Unity version: 2021.3.33f1
  • Platform: Android, Windows, Editor
  • Device: Windows 11, Android 12
  • How did you download the plugin: GitHub Releases

Additional info
No log.

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