It does recognize the type of T (it logs DataLoot). If I assign the parameters at runtime, it also picks up on them:
[attachment file=”Unity_Yl9JXxJlWT.png”]
However, it still does not get assigned.
Just executed with dynamic variables:
[attachment file=”devenv_uhGXoP6iEc.png”]
Assigned manually at runtime:
[attachment file=”devenv_VUupW3hIEt.png”]
I’d like to keep this generic and not make a separate function for every type that I might want to run this on. Is there a way to work around this?