Some suggestions for callback functions

Issue #167 resolved
奇 金 created an issue

[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)

  1. Tor Esa Vestergaard
    • 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.

  2. Log in to comment