I have String Variable MyString and I want the user to be able to choose between 2 values. I know I have to create a namespace but some other things I don't understand and I get a bunch of errors if I try to copy exactly the example. I have this:
[NinjaScriptProperty]
[Display(Name="MyString", Description="My description", Order=1, GroupName="Parameters")]
public string MyEnums.MyString
{ get; set; }
namespace MyEnums
{
public enum MyString
{
Hello,
Goodbye,
}
}

Comment