Question by
Adri0891 · Nov 23, 2019 at 11:13 AM ·
scripting beginnertagsenumscriptingproblemenemies
Getting tags into an enum or array.
Hello! I am trying to make it easy to implement several types of enemies in my game, and what I want to achieve part of that is being able to select the tags they can do damage to.
I am having trouble making this work, I was thinking of making a multiple selection enum with all available tags in my project. How could I get my script to automatically generate this enum from the tags list in Unity?
Thank you!
Comment