getEntityName

Script::getEntityName

Returns the name of the Entity.

Declaration

std::string getEntityName(Entity entity);

Parameters

Name

Type

Description

entity

Entity

The Entity to get the name of.

Returns

The name of Entity if it has one, else, returns the empty string "".