Documentation

Unity Engine

Download Unity

Unity Engine

CompanionComponentExtensions

Extension methods for reading companion components from an EntityManager.
Read time 1 minuteLast updated a month ago

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.