DEV Community


Discussion on: MVC in Unity with Scriptable Objects Part 1

cemuka profile image
Cem Ugur Karacam Author

Hi Rafael!
I'm glad you loved it!
My intention is to merge this series with my REST series, keep in touch. Scriptable Objects my favorite in unity, so it was inevitable to mention them in blog of mine :)
Well, as you said, and afaik, you can't use c# enums as you use in java. But I was able to find a workaround for a similar result, link. It's an extension method to enum and works well, you can try it here.

Another alternative that I found recently, and I wouldn't imagine to use enums like this, is here:
enum ext