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:
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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: