예제 #1
0
 /// <summary>
 /// You can use this method to store the EntityQuery generated for this Entities.ForEach invocation in a variable that you can then reuse for other purposes,
 /// such as calculating entity counts. Note: The EntityQuery is created in OnCreate. This method gives a copy of that query
 /// that can be used at any time (even before the Entities.ForEach is invoked). Also, this EntityQuery does not have any of the filters that the
 /// Entities.ForEach invocation sets up.
 /// </summary>
 /// <param name="query">Reference to EntityQuery object to store the EntityQuery created for this Entities.ForEach invocation.</param>
 public static ForEachLambdaJobDescription WithStoreEntityQueryInField(this ForEachLambdaJobDescription description, [AllowDynamicValue] ref EntityQuery query) => description;
예제 #2
0
 public static ForEachLambdaJobDescription WithSharedComponentFilter <T>(this ForEachLambdaJobDescription description, [AllowDynamicValue] T sharedComponent) where T : struct, ISharedComponentData => description;
예제 #3
0
 public static ForEachLambdaJobDescription WithFilter(this ForEachLambdaJobDescription description, [AllowDynamicValue] Unity.Collections.NativeArray <Entity> entities) => description;
예제 #4
0
 public static ForEachLambdaJobDescription WithChangeFilter <T1, T2>(this ForEachLambdaJobDescription description) => description;
예제 #5
0
 public static ForEachLambdaJobDescription WithEntityQueryOptions(this ForEachLambdaJobDescription description, EntityQueryOptions options) => description;
예제 #6
0
 public static ForEachLambdaJobDescription WithAll <T1, T2, T3>(this ForEachLambdaJobDescription description) => description;
예제 #7
0
 public static ForEachLambdaJobDescription WithAny <T>(this ForEachLambdaJobDescription description) => description;
예제 #8
0
 public static ForEachLambdaJobDescription WithNone <T1, T2>(this ForEachLambdaJobDescription description) => description;
예제 #9
0
 public static ForEachLambdaJobDescription SetSharedComponentFilterOnQuery <T>(ForEachLambdaJobDescription description, T sharedComponent, EntityQuery query) where T : struct, ISharedComponentData
 {
     query.SetSharedComponentFilter(sharedComponent);
     return(description);
 }
예제 #10
0
 public static EntitiesOnUpdateMethod OnUpdate <T>(
     this ForEachLambdaJobDescription _, T iJobEntity) where T : struct, IJobEntity
 {
     return(new EntitiesOnUpdateMethod());
 }