Example #1
0
 public static MainEntity GetEntityWithINamedTypeSymbol(this MainContext context, Microsoft.CodeAnalysis.INamedTypeSymbol Value)
 {
     return(((Entitas.PrimaryEntityIndex <MainEntity, Microsoft.CodeAnalysis.INamedTypeSymbol>)context.GetEntityIndex(Contexts.INamedTypeSymbol)).GetEntity(Value));
 }
Example #2
0
 public static System.Collections.Generic.HashSet <MainEntity> GetEntitiesWithTypeComp(this MainContext context, System.Type Value)
 {
     return(((Entitas.EntityIndex <MainEntity, System.Type>)context.GetEntityIndex(Contexts.TypeComp)).GetEntities(Value));
 }
Example #3
0
 public static MainEntity GetEntityWithComp(this MainContext context, string FullTypeName)
 {
     return(((Entitas.PrimaryEntityIndex <MainEntity, string>)context.GetEntityIndex(Contexts.Comp)).GetEntity(FullTypeName));
 }