Struct AspectType
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public struct AspectTypeConstructors
| Name | Description | 
|---|---|
| AspectType(Type) | Create an AspectType from a managed Type. | 
Fields
| Name | Description | 
|---|---|
| TypeIndex | The type index of the aspect in the TypeManager. | 
Methods
| Name | Description | 
|---|---|
| Equals(object) | Test if this object is equal to another object | 
| Equals(AspectType) | Test if this AspectType is equal to another AspectType | 
| FromTypeIndex(int) | Create an AspectType from a type index. | 
| GetHashCode() | Get hash code for this AspectType | 
| GetManagedType() | Retrieve the managed Type. | 
| ToString() | Name of the aspect type | 
Operators
| Name | Description | 
|---|---|
| operator ==(AspectType, AspectType) | Operator equal by type index | 
| operator >(AspectType, AspectType) | Operator greater-than by type index | 
| implicit operator AspectType(Type) | Implicit conversion from managed Type to AspectType. | 
| operator !=(AspectType, AspectType) | Operator not-equal by type index | 
| operator <(AspectType, AspectType) | Operator less-than by type index |