Class WriteGroupAttribute

[WriteGroup] you can exclude unknown when creating the declared write to the same components query component.

This allows the components of the system to safely extend the system without having to edit pre-existing.

The goal is the desired data from a set of components (input) conversion to another group (the output [S]) of the acoustic system to the explicit conversion, and they know that a special set of inputs. If you have additional input to write to the same output, then the query should not match, because it is a meaningless / untreated settings. It is possible to prevent meaningless components (two system writes the same output value), or by placing elements having the same write lock on the entity "off" prior systems / queries, so that another system deal with it.

Inheritance

System.Object

System.Attribute

WriteGroupAttribute

Namespace: Unity.Entities
Syntax
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
public class WriteGroupAttribute : Attribute, _Attribute
Constructors
WriteGroupAttribute(Type)
Declaration
public WriteGroupAttribute(Type targetType)
Fields
TargetType
Declaration
public Type TargetType

Guess you like

Origin www.cnblogs.com/longsl/p/11328046.html