Specifies that a component requires certain other components to be attached to the same entity.
More...
|
| RequireComponent (MessageType type, params Type[] componentTypes) |
| Initializes a new instance of the RequireComponent class with the specified message type and component types.
|
|
| RequireComponent (params Type[] componentTypes) |
| Initializes a new instance of the RequireComponent class with the specified component types and defaults to an error message type.
|
|
Specifies that a component requires certain other components to be attached to the same entity.
◆ RequireComponent() [1/2]
WoopWoop.RequireComponent.RequireComponent |
( |
MessageType | type, |
|
|
params Type[] | componentTypes ) |
Initializes a new instance of the RequireComponent class with the specified message type and component types.
- Parameters
-
type | The message type associated with the requirement. |
componentTypes | The array of component types required by the attributed component. |
◆ RequireComponent() [2/2]
WoopWoop.RequireComponent.RequireComponent |
( |
params Type[] | componentTypes | ) |
|
Initializes a new instance of the RequireComponent class with the specified component types and defaults to an error message type.
- Parameters
-
componentTypes | The array of component types required by the attributed component. |
◆ MessageType
Gets the message type associated with the requirement.
◆ RequiredComponents
Type [] WoopWoop.RequireComponent.RequiredComponents |
|
getprivate set |
Gets the array of required component types.
The documentation for this class was generated from the following file: