文档

Unity Engine

Download Unity

Unity Engine

SetName(Entity, FixedString64Bytes)

Sets the name of an entity.
阅读时间1 分钟最后更新于 1 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static void SetName(Entity entity, FixedString64Bytes name)

Parameters

entity

The entity.

The name to assign.

Remarks

Entity names only exist in the Unity Editor.