Méthode | Description | |
---|---|---|
Generate ( |
Generates the contents of the source code files to write.
|
Méthode | Description | |
---|---|---|
AddBlueprintMethod ( |
Returns the method for initializing a component from a dictionary.
|
|
AddBlueprintPoolCode ( IEnumerable |
Returns the extension class body for creating entities and adding components from blueprints.
|
|
AddComponentDictionary ( IEnumerable |
Generates a map from component type names to component ids.
|
|
AddCreateEntityMethod ( IEnumerable |
Returns the method for creating entities and adding components from blueprints.
|
|
AddDefaultPoolCode ( |
Generates the extension class body for initializing a component from a dictionary.
|
|
FieldAssignments ( string componentName, Entitas.CodeGenerator.ComponentFieldInfo infos ) : string |
Generates the code for assigning all fields of a component from data from a dictionary.
|
public Generate ( |
||
componentInfos | Data about all available entity components. | |
Résultat | Entitas.CodeGenerator.CodeGenFile[] |