|
Enfusion Script API
|
Static Public Member Functions | |
| static bool | DependsOn (string className) |
| Implement this if you need to enforce certain creation order of components. | |
| static array< TypeName > | Requires (IEntityComponentSource src) |
| Implement this if you need to enforce some other component type. | |
| static array< TypeName > | CannotCombine (IEntityComponentSource src) |
| Implement this if you need to disallow to concurrent usage with the other type. | |
Additional Inherited Members | |
Public Member Functions inherited from GenericComponentClass | |
| void | GenericComponentClass (IEntityComponentSource componentSource, IEntitySource parentSource, IEntitySource prefabSource) |
|
static |
Implement this if you need to disallow to concurrent usage with the other type.
Implement this if you need to enforce certain creation order of components.
| className | - name of other Component class {
if (className.ToType() == MyOtherComponent)
return true;
return false;
}
static bool DependsOn(string className) Implement this if you need to enforce certain creation order of components. |
|
static |
Implement this if you need to enforce some other component type.