Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

[Released] Pool Boss - super easy pooling solution.

Discussion in 'Assets and Asset Store' started by jerotas, Oct 20, 2014.

  1. churi24

    churi24

    Joined:
    Sep 17, 2013
    Posts:
    94
    Can you spawn a random item from a specific category? For example, I have 20 different variations of blood particles, and I want PoolBoss to spawn one of them randomly. So, I would pass the category to PoolBoss and ask it to spawn a particle from that category, without referencing each particle individually in the script.
    It would be something similar to the variations in MasterAudio.
     
  2. jerotas

    jerotas

    Joined:
    Sep 4, 2011
    Posts:
    5,557
    You'd need to write your own logic to choose a random item in a category. Otherwise no.