35 lines
687 B
Plaintext
35 lines
687 B
Plaintext
objectdef MRTestController
|
|
{
|
|
method Initialize()
|
|
{
|
|
LGUI2:LoadPackageFile["window.json"]
|
|
|
|
variable jsonvalue editor_ui
|
|
editor_ui:ParseFile["${LavishScript.HomeDirectory}/Scripts/mr/auto_quest/property_editors/kill_mobs_properties/editor_ui.json"]
|
|
; LGUI2.Element["mr.test.test_panel"]:AddChild[editor_ui]
|
|
|
|
}
|
|
|
|
method Shutdown()
|
|
{
|
|
LGUI2:UnloadPackageFile["window.json"]
|
|
}
|
|
|
|
method OnClose()
|
|
{
|
|
Script:End
|
|
}
|
|
}
|
|
|
|
variable(global) MRTestController TestController
|
|
|
|
function main()
|
|
{
|
|
LGUI2:LoadSkinFile["${LavishScript.HomeDirectory}/Scripts/mr/ui/mr.dark.skin.json"]
|
|
|
|
|
|
while 1
|
|
{
|
|
wait 5
|
|
}
|
|
} |