For some reason, when I create a GuiControl, and dump it, it doesn't come with an onWake method.
package SomethingClient
{
function SomethingGui::onWake(%this)
{
commandToServer('getEditorData');
Parent::onWake(%this);
}
};
if(isPackage(SomethingClient))
activatePackage(SomethingClient);
==>canvas.pushDialog(SomethingGui);
Add-Ons/Client_Something/client.cs (0): Unknown command onWake.
the gui opens, but the commandToServer command doesn't execute
i'm not sure what the problem is here, don't all GUIs come with the onWake command?