My player has a List of moves he can learn, depending on the type of player he picks at the beginning. I have a class called “Move” which is a base class for all of my in game moves scripts. Every move script, derives from “Move”. However, I can’t drag them and drop them into the public List slot on the character in the inspector. Is this even possible?
You can only drag and drop if you have an instance of something to work with. Scripts in the assets folder are not instanced. Scripts in the hierarchy (i.e. attached to a GameObject) are, and should be able to be dragged onto the inspector.
Well I came across this THREAD and it looks like exactly what I’m trying to accomplish (I’m about 90% sure)…but the problem I’m having is that after I do all of that…I can’t edit the variables inside of the List<>…I can only edit them when I have the actual .asset selected in the inspector.