文档

Unity Engine

Download Unity

Unity Engine

AddEntityRemapping(ref NativeArray<EntityRemapInfo>, Entity, Entity)

Adds a new EntityRemapUtility.EntityRemapInfo element to a remapping array.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

AddEntityRemapping(NativeArray<EntityRemapInfo>, Entity, Entity)

public static void AddEntityRemapping(ref NativeArray<EntityRemapUtility.EntityRemapInfo> remapping, Entity source, Entity target)

Parameters

The array of remapped elements.

source

The source Entity.

target

The target Entity.