Class RequireComponentAttribute
Allows to declare that a component requires another component in order to run (used for ScriptComponent
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class RequireComponentAttribute : EntityComponentAttributeBase
  - Inheritance
 - 
      objectRequireComponentAttribute
 
- Inherited Members
 
Constructors
RequireComponentAttribute(Type)
Initializes a new instance of RequireComponentAttribute.
public RequireComponentAttribute(Type type)
  Parameters
typeTypeType of the required EntityComponent
Properties
Type
Gets the type of the required component (Must be an EntityComponent.
public Type Type { get; }