Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public string
GetName(
Entity entity);
Parameters
| Parameter |
Description |
| entity |
The Entity object of the entity of interest. |
Returns
string
The entity name, as a managed string.
Description
Gets the name assigned to an entity.
For performance, entity names only exist when running in the Unity Editor.
Declaration
public void
GetName(
Entity entity,
out FixedString64Bytes
name);
Parameters
| Parameter |
Description |
| entity |
The Entity object of the entity of interest. |
| name |
The entity's name will be stored here. |
Description
Gets the name assigned to an entity.
For performance, entity names only exist when running in the Unity Editor.