Search Unity

GetComponentDataFromEntity for Monobehaviour components

Discussion in 'Entity Component System' started by jeremies_unity, Jun 3, 2019.

  1. jeremies_unity

    jeremies_unity

    Joined:
    Oct 16, 2018
    Posts:
    26
    Is there a way to access legacy components indexed by entity?
     
  2. kstothert

    kstothert

    Joined:
    Dec 8, 2016
    Posts:
    68
    EntityManager.GetComponentObject<T>(entity)
     
    jeremies_unity likes this.