setEntityName
Script::setEntityName
Sets a name to an Entity.
Declaration
void setEntityName(Entity entity, const std::string& name);
Parameters
Name |
Type |
Description |
---|---|---|
entity |
The Entity to set the name on. |
|
name |
const std::string& |
The name to give to the Entity. |
Returns
None.
Notes
The Entity names are unique, which signifies that two Entities can not have the same name.