Arch icon indicating copy to clipboard operation
Arch copied to clipboard

Entity.Add does not have single component overload.

Open Shadowblitz16 opened this issue 7 months ago • 4 comments

entity.Add doesn't have a overload for 1 component. it requires at least two.

    [Query][None<WindowHandle>]
    public static void AttachWindowHandler(ref Window window, [Data] Entity entity, [Data] World world)
    {
        var silkWindow = CreateHandle(window, entity);
        entity.Add(silkWindow); // error.
    }
    

Shadowblitz16 avatar Jul 23 '25 15:07 Shadowblitz16