Search Unity

Playing sounds from ECS

Discussion in 'Entity Component System' started by mkracik, Jun 27, 2019.

  1. mkracik

    mkracik

    Joined:
    Aug 5, 2018
    Posts:
    17
    I have an RTS-style game with units as ECS Entities and simulation in jobs, there are no GameObjects. I want to play multiple simultaneous weapon fire and explosion effects with correct locations and distances from the camera. Is it possible with ECS or do I need to create GameObjects with AudioSources?
     
  2. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    426