- changed title to Some suggestions for callback functions
Some suggestions for callback functions
Issue #167
resolved
[InlineButton("OnClickAudioEditorPath","配置")] [OnValueChanged("OnAudioEditorPathChanged")] public string AudioEditorPathView = "未配置";
I want to be able to pass in some arguments to these callBack functions! Is there any way todo that?
Comments (4)
-
reporter -
- changed status to open
You could create some fields next to the button, one for each "argument", and then set the values of those fields to whatever you want, and have the button method use those field values. We're afraid there isn't currently another way to pass arguments into button methods. There will be, later, when we upgrade our property system in 1.1.
-
- changed milestone to 1.1.0.0
-
- changed status to resolved
- Log in to comment