0
我得到下面的代碼以下錯誤:錯誤:預期類,委託,枚舉,接口或結構
expected class,delegate,enum,interface or struct.
上GH_ObjectResponse徘徊發生這種情況時,我究竟做錯了什麼?
public class SettingsComponentAttributes : GH_ComponentAttributes
{
public SettingsComponentAttributes(IGH_Component SettingsComponent) :
base(SettingsComponent) {}
}
public override GH_ObjectResponse RespondToMouseDoubleClick(
GH_Canvas sender, GH_CanvasMouseEvent e)
{
((SettingsComponent)Owner).ShowSettingsGui();
return GH_ObjectResponse.Handled;
}