Search Unity

Question How to hide the entities that is not caught on camera?[ECS]

Discussion in 'Entity Component System' started by game-pj, May 11, 2020.

  1. game-pj

    game-pj

    Joined:
    Jul 31, 2017
    Posts:
    1
    I wanna make the entities,that is not caught on a camera, invisible like this.
    imagelikethis.png

    How could I code this?
    Is there any sample?

    -------------------------------------
    using
    [Entities] preview 6 - 0.10.0
    [Hybrid Renderer] preview.6 0.5.0
     

    Attached Files: