Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Showcase Essentials

Discussion in 'Entity Component System' started by tertle, Oct 27, 2022.

  1. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,647
    -edit- this is not updated. if you want these features please use my core library which I maintain continuously.

    I've thrown together a tiny package of features I think are essential for DOTS development. These were previously part of my core library but not everyone wants the entire library (but you should!)

    https://github.com/tertle/com.bovinelabs.essentials
    https://openupm.com/packages/com.bovinelabs.essentials.html

    Currently there are just 3 features

    Physics Collider Inspector


    Adds custom inspectors for all collider type so you can see what collider is on your entity but also look at it's data. At some point I'll improve the BelongsTo/CollidersWith bitmasks to make them more readable.
    Note: This is a readonly inspector and will not update

    Entities Hierarchy Filter

    Replaces the Add filter button on the Entities Inspector with a new window that gives you query options so you can change your query to use ALL instead of ANY (should be default behaviour imo) but also adds support for querying system entities or hiding prefabs/disabled entities.

    RemoveLinkedEntityGroupSystem
    This is more optional but I included it because it's a personal gripe of mine.
    Removes LinkedEntityGroup from entities that don't have any children or additional entities assigned to them.
    Fixes the issue with Baker adding LinkedEntityGroup to any GetEntity(Prefab) even if it doesn't have a hierarchy. This is just free performance. This is a baking not runtime system. (Note this is a conservative remove. It won't remove LEG in all cases - in particular netcode generates a baking only entity which stops it being removed but I don't want to break something by being over aggressive.)
     
    Last edited: Apr 8, 2023
    filod, FernandoMK, OldMage and 16 others like this.