Class MyEntityDependencyTypeAttribute
Entity Dependency type is required for entity component. If entity type is not equal, subclass or assignable, entity component will not be created and it's considered as error.
Inheritance
System.Object
MyEntityDependencyTypeAttribute
Namespace: VRage.Game.Components
Assembly: VRage.Game.dll
Syntax
public class MyEntityDependencyTypeAttribute : Attribute
Constructors
MyEntityDependencyTypeAttribute(Type)
Declaration
public MyEntityDependencyTypeAttribute(Type entityType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | entityType |
Fields
EntityType
Declaration
public readonly Type EntityType
Field Value
Type | Description |
---|---|
System.Type |