1111
This commit is contained in:
@@ -5,18 +5,23 @@
|
||||
文件用途:主界面UI
|
||||
*/
|
||||
//主界面UI初始化回调
|
||||
function _MainUI_Enter_()
|
||||
{
|
||||
function _MainUI_Enter_(UI_Scene) {
|
||||
if (!_SYS_UI_SCENE_Instance_) _SYS_UI_SCENE_Instance_ = Actor(UI_Scene)
|
||||
|
||||
local TestWindow = sq_CreaterWindow("测试窗口", GameWindow)
|
||||
TestWindow.ResetFoucus()
|
||||
|
||||
local Sp = Sprite(
|
||||
"sprite/interface2/worldmap/step_2(area)/step_2(area)_bg.img",
|
||||
12
|
||||
)
|
||||
TestWindow.AddChild(Sp)
|
||||
}
|
||||
//主界面UI事件回调
|
||||
function _MainUI_HandleEvents_(event)
|
||||
{
|
||||
}
|
||||
function _MainUI_HandleEvents_(event) {}
|
||||
//主界面UI更新回调
|
||||
function _MainUI_Update_(deltaTime)
|
||||
{
|
||||
function _MainUI_Update_(deltaTime) {
|
||||
_Global_Windows_Logic_(deltaTime)
|
||||
}
|
||||
//主界面UI退出回调
|
||||
function _MainUI_Exit_()
|
||||
{
|
||||
}
|
||||
function _MainUI_Exit_() {}
|
||||
|
||||
Reference in New Issue
Block a user