Hello Community,
am developing a special container type which I'd like to control through a MonoBehavior.
How can I have a member variable in a monobehavior that has a template parameter?
Would like something like this, but that does not compile:
How to use a templated member in a MonoBehavior?
am developing a special container type which I'd like to control through a MonoBehavior.
How can I have a member variable in a monobehavior that has a template parameter?
Would like something like this, but that does not compile:
Code (CSharp):
- public class ChunksManager : MonoBehaviour
- {
- private ChunksContainer<T> container = null;
- {
- if (container != null)...