public static UiEntity GetEntityWithId(this UiContext context, int value) { return(((Entitas.PrimaryEntityIndex <UiEntity, int>)context.GetEntityIndex(Contexts.Id)).GetEntity(value)); }
public static System.Collections.Generic.HashSet <UiEntity> GetEntitiesWithPlayerResource(this UiContext context, GameResource resource) { return(((Entitas.EntityIndex <UiEntity, GameResource>)context.GetEntityIndex(Contexts.PlayerResource)).GetEntities(resource)); }
public static System.Collections.Generic.HashSet <UiEntity> GetEntitiesWithView(this UiContext context, UnityEngine.GameObject gameObject) { return(((Entitas.EntityIndex <UiEntity, UnityEngine.GameObject>)context.GetEntityIndex(Contexts.View)).GetEntities(gameObject)); }