setEntityName ============= :doc:`/types/ECSInterface/index`::setEntityName Sets a name to an :doc:`/entity_component_system/entity/index`. Declaration ----------- .. code-block:: cpp virtual void setEntityName(Entity entity, const std::string& name) = 0; Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - entity - :doc:`/entity_component_system/entity/index` - 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 :doc:`Entities ` **can not** have the same name.