Registering a struct without explicit constructor #416
Unanswered
kroonhorstdino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there some way to register a struct without explicit constructor? VContainer always complains when I try to do this.
I'd like to register instead of using an instance of a struct because it would be nice for VContainer to call the dispose function as my struct contains a NativeCollection which must be disposed of before ending the program (with
Allocator.Persistent). It would simply be a quality of life feature for me.Beta Was this translation helpful? Give feedback.
All reactions