So here’s what I have in mind. I’d like to make a script that allows me to choose the spawn location of the gameObject that I have the script attached to. I would have 9 defined spawn points. My original thought was to make a an enum or something that holds the spawn points and then via a dropdown box or something of that nature, I’d like to be able to choose the spawn location. Does anyone have any suggestions on a good way to do this? Thanks in advance!
I figured it out so I thought I post to help someone else out. Here’s what I did to get a selectable drop down on the script in the editor. It works perfectly!
public enum AnimationLocation {upperLeft = 1, upperMiddle, upperRight,
middleLeft, middleMiddle, middleRight,
lowerLeft, lowerMiddle, lowerRight};
public AnimationLocation animPlayArea;