【GM】添加剧情测试的GM
parent
2a98efbaad
commit
28538e89b0
|
|
@ -132,6 +132,7 @@ function GMPanel:InitComponent()
|
|||
|
||||
{type = GMType.Function, subType = GMSubType.Func, inputNum = 1, args = "", btnTip = "跳转测试", inputTip = {"输入跳转ID"}, callBack = this.TestJump},
|
||||
{type = GMType.Function, subType = GMSubType.Func, inputNum = 2, args = "", btnTip = "功能引导测试", inputTip = {"请输入功能ID", "1去主界面2去挂机界面"}, callBack = this.TestFuncGuide},
|
||||
{type = GMType.Function, subType = GMSubType.Func, inputNum = 1, args = "", btnTip = "剧情测试", inputTip = {"请输入剧情ID"}, callBack = this.TestStory},
|
||||
{type = GMType.Function, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "红点Debug", inputTip = {""}, callBack = this.OpenRedDebug},
|
||||
|
||||
|
||||
|
|
@ -432,6 +433,10 @@ function this.TestFuncGuide(text, goType)
|
|||
end
|
||||
|
||||
end
|
||||
--
|
||||
function this.TestStory(text)
|
||||
StoryManager.EventTrigger(tonumber(text))
|
||||
end
|
||||
-- 红点Debug
|
||||
function this.OpenRedDebug()
|
||||
UIManager.OpenPanel(UIName.RedpotDebugPanel)
|
||||
|
|
|
|||
Loading…
Reference in New Issue