文档

Unity Engine

Unity Engine

CompanionComponentExtensions

Extension methods for reading companion components from an EntityManager.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Class
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.CoreModule
public static class CompanionComponentExtensions

Static Methods

Method

Description

GetCompanionReturns the UnityEngine.Component of type T referenced by the entity's companion component.