Problem with lists in making a custom editor script

Updated on January 19, 2018 in Unity
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
0 on January 19, 2018

 Hi

I have been working on a custom editor script and i am having problems. I have a list :

public List<MobAtributes> MobAtributes
{
get { return mobAtributes; }
set { mobAtributes = value; }
}

in a script so i am trying to include a drop down menu for a selection of attribute(Attributes are stored in a separate enum script) to make a custom prefab of a mob. But i am having problems implementing it into the script.

I looked around online and asked a friend, but all they could point me to is that it has to do with the PropertyField. Please help.

 

  • Liked by
Reply