I want to send a string parameter to an action list that is called from a menu button, but it appears that the menu editor only handles integer parameters.
Compare this (using an integer param):
With this (using a string):
A quick look at MenuButton.cs (lines 307-311) seems to confirm this:
parameterID = Action.ChooseParameterGUI ("", actionList.parameters, parameterID, ParameterType.Integer);
if (parameterID >= 0)
{
parameterValue = EditorGUILayout.IntField (parameterValue);
}
Hope that made sense - only on my second cup of coffee this morning! :-)
Comments
I shall look to add parameters to the Engine: Change scene Action, however.