with package manager
"com.bibyter.leoecs.integration": "https://github.com/Bibyter/leoecs-unityintegraion.git",
Window/Leoecs Editor
void Start () {
_world = new EcsWorld ();
_systems = new EcsSystems (_world);
#if UNITY_EDITOR
Bibyter.LeoecsEditor.EcsEditorRouter.Create(_world);
#endif
_systems
.Add (new TestSystem1 ())
.Init ();
}
- view entities list
- List<> in component draw support
- filtering entity by component type name
- open multiple worlds
- nested struct draw support with attribute
[FullDrawInEcsWindow]
struct NestedStruct
{
public int intVal;
public int floatVal;
}
- select entity with view object
public class CharacterView : MonoBehaviour
{
public EcsEntity entity;
[ContextMenu("ShowEntityInEditor")]
void ShowEntityInEditor()
{
EcsEditorRouter.SelectEntity(entity);
}
}
- select entity with component field