Search Unity

Templates ?

Discussion in 'Entity Component System' started by Held0fTheWelt, Apr 29, 2019.

  1. Held0fTheWelt

    Held0fTheWelt

    Joined:
    Sep 29, 2015
    Posts:
    173
    Just a question.

    I still don't know, if that really makes sense, if i think of sth. like:

    public class PoolingSystem<T> : JobComponentSystem where T : struct

    Can i make a template pooling system and start several for several entity pools ?