---@class GUI GUI = {} local this = GUI ---@param handle UIKmlLuaControlHandler function this:AddOnClickEvent(handle, ui, callback, eventData) end ---@param control UIKmlLuaControl function this:SetToggleOnValueChange(control, ui, callback, eventData) end ---@param control UIKmlLuaControl ---@param parentControl UIKmlLuaControl function this:SetToggleGroup(control, parentControl) end ---@param control UIKmlLuaControl function this:SetSliderOnValueChange(control, ui, callback, eventData) end ---@param handler UIKmlLuaControlHandler ---@param ItemSizeFunc any @无限滚动列表下不等距回调函数,默认可不填 ---@return void @初始化只需要调用一次,刷新界面的时候调用DataListUpdateData function this:DataListInitData(handler, ItemCountFunc, ItemGetFunc, ItemInitFunc, ItemUpdateFunc, ItemSizeFunc) end ---@param control UIKmlLuaControl ---@param immediately boolean 是否立即刷新,默认是false,防止同一帧多次刷新界面消耗增大,如果需要立即获取子控件,传入true function this:DataListUpdateData(control, immediately,callBack) end ---@param control UIKmlLuaControl function this:RemoveAllChildren(control) end ---@param control UIKmlLuaControl function this:RemoveFromParent(control) end ---@param control UIKmlLuaControl ---@return UIKmlLuaControl function this:GetParent(control) end ---@param control UIKmlLuaControl function this:GetParentByTransform(control) end function this:GetParentTransform(control) end function this:SetParent(control, parent) end ---@param handle UIKmlLuaControlHandler function this:GetChildren(handle) end ---@param handle UIKmlLuaControlHandler function this:GetChildrenCount(handle) end ---@param handle UIKmlLuaControlHandler function this:GetActiveChildrenCount(handle) end ---通过id获取子物体控件 function this:GetChildrenByIndex(handle,index) end ---@param handler UIKmlLuaControlHandler function this:GetChildById(handler, id) end ---@param control UIKmlLuaControl function this:GetChildByTag(control, tag) end ---@param control UIKmlLuaControl ---@param child UIKmlLuaControl function this:AddChild(control, child) end ---@param control UIKmlLuaControl ---@param id string function this:RemoveChildById(control, id) end ---@param control UIKmlLuaControl ---@param x number ---@param y number ---@return Vector3 function this:ConvertToWorldSpace(control, x, y) end ---@param control UIKmlLuaControl ---@param x number ---@param y number ---@return Vector3 function this:ConvertToNodeSpace(control, x, y) end ---@param handle UIKmlLuaControlHandler ---@param callback function function this:AddOnTouchEvent(handle, ui, callback) end ---@param control UIKmlLuaControl function this:StopAllActions(control) end ---@param control UIKmlLuaControl function this:SetDropDownOnValueChange(control, ui, callback, eventData) end function this:GetPanelTransform(panelName) end function this:GetControlTransform(panelName, controlName) end function this:GetRectTransform(control) end function this:CloneControl(panelName, controlName, index) end function this:DelCloneControl(panelName, controlName) end function this:ScreenPointToWorldPointInRectangle(control,position) end function this:ScreenPointToLocalPointInRectangle(control,position) end --添加主界面隐藏/显示位置 ---@param control UIKmlLuaPanelBase function this:AddMainPanelUIHideShowPos(control) end ---prefab标签控件加载完毕回调 function this:SetOnPrefabControlLoaded(control,callback) end ---@return UIKmlLuaControl ---@param parent UIKmlLuaControl function this:UIVideo_Create(parent, luaTable) end function this:IsVideoPlaying(control) end ---@return boolean @是否在滚动条里面 function this:IsInScrollView(panelName,controlName) end ---@param control UIKmlLuaControl function this:SetAttr(control,attrName,attrValue) end --region Common ---@param control UIKmlLuaControl ---@param x number ---@param y number function this:setPosition(control, x, y) end ---@param control UIKmlLuaControl ---@param value number function this:setPositionX(control, value) end ---@param control UIKmlLuaControl ---@param value number function this:setPositionY(control, value) end ---@param control UIKmlLuaControl ---@param value number function this:setPositionZ(control, value) end ---@param control UIKmlLuaControl function this:getPosition(control) end ---@param control UIKmlLuaControl function this:GetLocalPosition(control) end ---@param control UIKmlLuaControl function this:setLocalPosition(control, x, y, z) end ---@param kmlCtrl UIKmlLuaControl function this:GetWorldPosition(control) end ---@param kmlCtrl UIKmlLuaControl function this:SetWorldPosition(control, x, y, z) end ---@param control UIKmlLuaControl function this:getPositionX(control) end ---@param control UIKmlLuaControl function this:getPositionY(control) end ---@param control UIKmlLuaControl ---@param x number @ 0中 1左 2右 ---@param y number @ 0中 1上 2下 function this:setAnchorPoint(control, x, y) end function this:SetAnchorAdvanced(control, x, y) end ---@param control UIKmlLuaControl function this:getAnchorPoint(control) end ---@param control UIKmlLuaControl ---@param sizeW number ---@param sizeH number function this:setContentSize(control, sizeW, sizeH) end function this:getSizeDelta(control) end ---@param control UIKmlLuaControl function this:getBoundingBox(control) end ---@param control UIKmlLuaControl ---@param tag string function this:setTag(control, tag) end ---@param control UIKmlLuaControl function this:getTag(control) end ---@param control UIKmlLuaControl ---@param name string function this:setName(control, name) end function this:getName(control) end ---@param control UIKmlLuaControl ---@param grey boolean function this:setGrey(control, grey) end ---@param control UIKmlLuaControl function this:setRotation(control, rotation) end ---@param control UIKmlLuaControl function this:getRotation(control) end ---@param control UIKmlLuaControl function this:setAllRotation(control, rotation) end ---@param control UIKmlLuaControl function this:getAllRotation(control) end ---@param control UIKmlLuaControl function this:setRotationSkewX(control, rotation) end ---@param control UIKmlLuaControl function this:setRotationSkewY(control, rotation) end ---@param kmlCtrl UIKmlLuaControl ---@return number,number,number function this:GetLocalEulerAngles(control) end ---@param kmlCtrl UIKmlLuaControl function this:SetLocalEulerAngles(control,x,y,z) end ---@param kmlCtrl UIKmlLuaControl ---@return number,number,number function this:GetEulerAngles(control) end ---@param kmlCtrl UIKmlLuaControl function this:SetEulerAngles(control,x,y,z) end ---@param control UIKmlLuaControl ---@param visible boolean function this:setVisible(control, visible) end ---@param control UIKmlLuaControl function this:getVisible(control) end ---@param control UIKmlLuaControl ---@param alpha number function this:setAlpha(control, alpha) end ---@param control UIKmlLuaControl function this:getAlpha(control) end ---@param control UIKmlLuaControl ---@param scale number function this:setScale(control, scale) end ---@param control UIKmlLuaControl function this:getScale(control) end ---@param control UIKmlLuaControl ---@param scale number function this:setScaleX(control, scale) end ---@param control UIKmlLuaControl function this:getScaleX(control) end ---@param control UIKmlLuaControl ---@param scale number function this:setScaleY(control, scale) end ---@param control UIKmlLuaControl function this:getScaleY(control) end ---@param control UIKmlLuaControl ---@param value boolean function this:setFlippedX(control, value) end ---@param control UIKmlLuaControl function this:getFlippedX(control) end ---@param control UIKmlLuaControl function this:setFlippedY(control, value) end ---@param control UIKmlLuaControl function this:getFlippedY(control) end ---@param control UIKmlLuaControl ---@param value number function this:setLocalZOrder(control, value) end ---@param control UIKmlLuaControl function this:GetAnchoredPosition3D(control) end ---@param control UIKmlLuaControl function this:GetAnchoredPosition(control) end ---@param control UIKmlLuaControl function this:SetAnchoredPosition(control,pos) end ---@param control UIKmlLuaControl function this:setTouchEnabled(control, value) end ---@param control UIKmlLuaControl function this:getTouchEnabled(control) end ---@param control UIKmlLuaControl ---@param delay number function this:delayTouchEnabled(control, delay) end ---@param control UIKmlLuaControl ---@param value boolean function this:setSwallowTouches(control, value) end ---@param control UIKmlLuaControl function this:getSwallowTouches(control) end ---设置对象隐藏显示 ---@param control UIKmlLuaControl ---@param isActive boolean function GUI:SetActive(control, isActive) end --region Image ---加载纹理图片 ---@param control UIKmlLuaControl ---@param src string ---@param atlas string function GUI:Image_loadTexture(control, src, atlas) end ---设置图片为圆形类型 ---@param control UIKmlLuaControl function this:Image_SetCircleType(control, isCircle) end ---加载纹理图片 ---@param control UIKmlLuaControl ---@param src string ---@param atlas string function GUI:Image_SetTexture(control, tex) end ---@param tex UnityEngine.Texture function GUI:Image_GetTextureWidthAndHeight(tex) end ---设置图片填充值 ---@param control UIKmlLuaControl function this:Image_setFillAmount(control,fillAmount) end ---设置图片九宫格 ---@param control UIKmlLuaControl ---@param scale9l number ---@param scale9r number ---@param scale9t number ---@param scale9b number function GUI:Image_setScale9Slice(control, scale9l, scale9r, scale9t, scale9b) end ---设置图片是否变灰 ---@param control UIKmlLuaControl ---@param isGrey boolean function GUI:Image_setGrey(control, isGrey) end ---设置图片透明度 ---@param control UIKmlLuaControl ---@param value number function GUI:Image_setAlpha(control, value) end function this:Image_setType(handle,type,fillMethod,fillOrigin,fillClockwise) end --region Button ---设置按钮状态图片 ---@param control UIKmlLuaControl ---@param Normalfilepath string ---@param Pressedfilepath string ---@param Disabledfilepath string ---@param atlas string function GUI:Button_loadTextures(control, Normalfilepath, Pressedfilepath, Disabledfilepath, atlas) end ---设置颜色(通用) ---@param control UIKmlLuaControl function GUI:setColor(control,color) end ---设置正常状态图片 ---@param control UIKmlLuaControl ---@param Normalfilepath string ---@param atlas string function GUI:Button_loadTextureNormal(control, Normalfilepath, atlas) end ---设置按下状态图片 ---@param control UIKmlLuaControl ---@param Pressedfilepath string ---@param atlas string function GUI:Button_loadTexturePressed(control, Pressedfilepath, atlas) end ---设置禁用状态图片 ---@param control UIKmlLuaControl ---@param Disabledfilepath string ---@param atlas string function GUI:Button_loadTextureDisabled(control, Disabledfilepath, atlas) end ---设置按钮文字 ---@param control UIKmlLuaControl ---@param value string function GUI:Button_setTitleText(control, value) end ---获取按钮文字 ---@param control UIKmlLuaControl function GUI:Button_getTitleText(control) end ---设置按钮文字颜色 ---@param control UIKmlLuaControl ---@param color string function GUI:Button_setTitleColor(control, color) end ---设置按钮文字大小 ---@param control UIKmlLuaControl ---@param value number function GUI:Button_setTitleFontSize(control, value) end ---设置按钮文字样式 字体 ---@param control UIKmlLuaControl ---@param fonttype string function GUI:Button_setTitleFontName(control, fonttype) end ---设置按钮文本最大宽度 ---@param control UIKmlLuaControl ---@param value number function GUI:Button_setMaxLineWidth(control, value) end ---设置按钮文本加描边 ---@param control UIKmlLuaControl ---@param color string ---@param outline number function GUI:Button_titleEnableOutline(control, color, outline) end ---取消按钮文本描边 ---@param control UIKmlLuaControl function GUI:Button_titleDisableOutLine(control) end ---设置按钮是否禁用 ---@param control UIKmlLuaControl ---@param value boolean function GUI:Button_setBright(control, value) end ---设置按钮是否灰态 ---@param control UIKmlLuaControl ---@param isGrey boolean function GUI:Button_setGrey(control, isGrey) end ---设置按钮九宫格 ---@param control UIKmlLuaControl ---@param scale9l number ---@param scale9r number ---@param scale9t number ---@param scale9b number function GUI:Button_setScale9Slice(control, scale9l, scale9r, scale9t, scale9b) end ---设置控件颜色rgba(kml) ------@param control UIKmlLuaControl function this:SetImageAlpha(control, r, g, b, a) end ---设置GridLayoutGroup控件的Child Alignment ------@param control UIKmlLuaControl function this:SetGridLayoutGroupChildAlignment(control, cellAlign) end ---设置图片NativeSize ------@param control UIKmlLuaControl function this:SetImageNativeSize(control) end ---设置输入控件text ---@param control UIKmlLuaControl function this:SetInputText(control, str) end ---获取输入控件text ---@param control UIKmlLuaControl function this:GetInputText(control) end ---设置输入控件激活 ---@param control UIKmlLuaControl ---@param value boolean @是否激活 function this:SetInputEnable(control, value) end --region Text ---设置文本 ---@param control UIKmlLuaControl ---@param value string function GUI:Text_setString(control, value) end ---获取文本 ---@param control UIKmlLuaControl function GUI:Text_getString(control) end ---设置文本颜色 ---@param control UIKmlLuaControl ---@param color string function GUI:Text_setTextColor(control, color) end ---设置文本内容 ---@param control UIKmlLuaControl ---@param str string function GUI:Text_setText(control, str) end ---设置字体透明度 ---@param control UIKmlLuaControl ---@param alpha number function GUI:Text_setTextColorAlpha(control, alpha) end ---设置字体大小 ---@param control UIKmlLuaControl ---@param value number function GUI:Text_setFontSize(control, value) end ---设置字体路径 ---@param control UIKmlLuaControl ---@param fonttype string function GUI:Text_setFontName(control, fonttype) end ---设置字体描边 ---@param control UIKmlLuaControl ---@param color string ---@param outline number function GUI:Text_enableOutline(control, color, outline) end ---设置是否启用下划线 ---@param control UIKmlLuaControl ---@param underLineType number function GUI:Text_enableUnderline(control, underLineType) end ---设置文本最大行宽 ---@param control UIKmlLuaControl ---@param value number function GUI:Text_setMaxLineWidth(control, value) end ---取消文本描边 ---@param control UIKmlLuaControl function GUI:Text_disableOutLine(control) end ---设置文本垂直水平对齐 ---@param control UIKmlLuaControl ---@param value string function GUI:Text_setTextAlignment(control, value) end ---设置文本尺寸 ---@param control UIKmlLuaControl ---@param value {width = number, height = number} function GUI:Text_setTextAreaSize(control, value) end ---设置文本是否水平超框显示 ---@param control UIKmlLuaControl ---@param value string function GUI:Text_sethorwrap(control, value) end ---设置文本是否自动换行 ---@param control UIKmlLuaControl ---@param value string function GUI:Text_setmline(control, value) end ---设置RichText道具装备信息 ---@param control UIKmlLuaControl ---@param value string function GUI:RichText_setchatiteminfo(control, value) end --region TextAtlas ---设置艺术字配置 ---@param control UIKmlLuaControl ---@param stringValue string ---@param charMapFile string ---@param itemWidth number ---@param itemHeight number function GUI:TextAtlas_setProperty(control, stringValue, charMapFile, itemWidth, itemHeight) end ---设置艺术字文本 ---@param control UIKmlLuaControl ---@param stringValue string function GUI:TextAtlas_setString(control, stringValue) end ---获取艺术字文本 ---@param control UIKmlLuaControl function GUI:TextAtlas_getString(control) end --region Slider ---设置滚动条背景图 ---@param control UIKmlLuaControl ---@param src string ---@param atlas string function GUI:Slider_loadBarTexture(control, src, atlas) end ---设置滚动条图片 ---@param control UIKmlLuaControl ---@param src string ---@param atlas string function GUI:Slider_loadProgressBarTexture(control, src, atlas) end ---设置滚动条拖动块普通图片 ---@param control UIKmlLuaControl ---@param src string ---@param atlas string function GUI:Slider_loadSlidBallTextureNormal(control, src, atlas) end ---设置滚动条进度 ---@param control UIKmlLuaControl ---@param value number function GUI:Slider_setPercent(control, value) end ---获得滚动条进度 ---@param control UIKmlLuaControl function GUI:Slider_getPercent(control) end ---设置滚动条最大进度值 ---@param control UIKmlLuaControl ---@param value number function GUI:Slider_setMaxPercent(control, value) end ---设置滚动条最小进度值 ---@param control UIKmlLuaControl ---@param value number function GUI:Slider_setMinPercent(control, value) end ---@param control UIKmlLuaControl ---@param callback function function GUI:Slider_addOnEvent(control, ui, callback, eventData) end ---设置模型 ---@param control UIKmlLuaControl ---@param fonttype string function GUI:Item_setItemId(control, itemId) end ---设置道具数量 ---@param control UIKmlLuaControl ---@param itemCount string|number function GUI:Item_setItemCount(control, itemCount) end function GUI:Item_UpdataData(control, luaTable) end function GUI:Item_Rotate(control, rotate) end function GUI:Item_Scale(control, scale) end ---设置model ---@param control UIKmlLuaControl ---@param src string ---@param scale string ---@param rotate string ---@param pos string ---@param mfixsize string function GUI:Model_setSrc(control, src, scale, rotate, pos,mfixsize) end ---@param control UIKmlLuaControl ---@param scale string @不填相当于不设置 ---@param rotate string @不填相当于不设置 ---@param pos string @不填相当于不设置 ---@param mfixsize string @不填相当于不设置 function GUI:Model_setParam(control, scale, rotate, pos,mfixsize) end ---设置model是否被修剪 ---@param value number function GUI:Model_setnoclip(control, value) end ---@param propType number @ 1 浮点数 2 SetTextureOffset,SetTextureScale 3 颜色 4 Vector4 ---@param matIndex number @材质索引编号,从0开始 function GUI:Model_setMatParam(control,path, matIndex, propType, propName, propValue) end ---设置toggle图片 ---@param control UIKmlLuaControl ---@param atlas string ---@param src string ---@param pimg string function GUI:Toggle_setSrc(control, atlas, src, pimg) end ---设置toggle是否选中 ---@param control UIKmlLuaControl ---@param isOn boolean function this:Toggle_setIsOn(control, isOn) end ---获取toggle是否选中 ---@param control UIKmlLuaControl ---@return boolean function this:Toggle_getIsOn(control) end ---@param control UIKmlLuaControl ---@param isAllow boolean function this:ToggleGroup_AllowSwitChoff(control,isAllow) end --region loadingbar ---设置进度条 ---@param control UIKmlLuaControl ---@param stringValue number function GUI:SetLoadingbar_startper(control, stringValue) end ---设置时间 ---@param control UIKmlLuaControl ---@param stringValue number function GUI:SetControl_time(control, stringValue) end ---设置移动位置 ---@param control UIKmlLuaControl ---@param stringValue string function GUI:SetControl_moveto(control, stringValue) end ---设置倒计时图片旋转位置 ---@param control UIKmlLuaControl ---@param stringValue number function GUI:SetCirclebar_startper(control, stringValue) end ---设置圆形进度条结束值 ---@param control UIKmlLuaControl ---@param stringValue number function GUI:SetCirclebar_endper(control, stringValue) end ---设置圆形进度条滚动时间 ---@param control UIKmlLuaControl ---@param stringValue number function GUI:SetCirclebar_time(control, stringValue) end ---设置滑动框进度 ---@param control UIKmlLuaControl ---@param stringValue number function GUI:SetScrollView_scrollpos(control, stringValue) end --region inputfield ---@param control UIKmlLuaControl ---@param ui UIKmlLuaPanelBase ---@param callback function ---@param eventData any function this:Input_SetOnValueChange(control, ui, callback, eventData) end ---@param control UIKmlLuaControl ---@param ui UIKmlLuaPanelBase ---@param callback function ---@param eventData any function this:Input_SetOnEndEdit(control, ui, callback, eventData) end function this:SetMaxTextCount(control, maxCount) end ---@param control UIKmlLuaControl function this:GetNearCanvasZindex(control) end ---设置是否勾选复选框(不触发回调) ---@param control UIKmlLuaControl ---@param isOn boolean function GUI:SetIsOnWithoutNotify(control, isOn) end ---设置role ---@param ani string @动画名字(可缺省) function GUI:SetPlayerRoleInfo(control, model_list, equip_list,ani) end ---设置role动作 ---@param control UIKmlLuaControl function GUI:SetPlayerRoleAni(control, ani) end function GUI:SetStreamAttr(control, strameCfgId) end function GUI:ResetStreamAttr(control) end function GUI:SetControlAnimation_stop(control, isStop) end ---@param control UIKmlLuaControl function GUI:GetID(control) end ---@param control UIKmlLuaControl function GUI:SetID(control, id) end ---@param control UIKmlLuaControl function GUI:GetDropDownValue(control) end ---@param control UIKmlLuaControl function GUI:GetControlWidth(control) end ---@param control UIKmlLuaControl function GUI:GetControlHeight(control) end ---@param handler UIKmlLuaControlHandler function this:OSAScrollView_Initialized(handler,itemGetFun,itemUpdateFun,ui) end ---@param control UIKmlLuaControl function this:OSAScrollView_RefreshList(control,count) end ---@param control UIKmlLuaControl function this:OSAScrollView_SetItemSizeGetFun(control,itemSizeGetFun,ui) end ---@param control UIKmlLuaControl function this:OSAScrollView_ScrollTo(control,index,duration,normalizedOffsetFromViewportStart,normalizedPositionOfItemPivotToUse) end ---@param control UIKmlLuaControl 获取所有可见的item function this:OSAScrollView_GetAllItems(control) end function GUI:GetTextPreferredWH(control) end ---@param control UIKmlLuaControl function GUI:SetOffsetMin(control,x,y) end ---@param control UIKmlLuaControl function this:GetOffsetMin(control) end ---@param control UIKmlLuaControl function GUI:SetOffsetMax(control,x,y) end ---@param control UIKmlLuaControl function this:GetOffsetMax(control) end function GUI:SetScrollViewRectMaskData(control,x,y, width, height) end function GUI:SetScrollView_DefaultItemSize(control,width,height) end ---@param control UIKmlLuaControl @控件隐藏的时候自动回收 function GUI:AddMask(control) end function GUI:RemoveMask(control) end ---@param control UIKmlLuaControl @控件隐藏的时候自动回收 function GUI:AddUIEmpty4Raycast(control) end ---@param control UIKmlLuaControl @控件隐藏的时候自动回收 function GUI:ForceRebuildLayoutImmediate(control) end ---@param control UIKmlLuaControl ---@param id number @cfg_model_effect id function GUI:Effect_setEffectId(control, id) end --视频 ---@param control UIKmlLuaControl function GUI:SetVideo(control, resPath,vwidth,vheight,playonwake,loop) end --视频 ---@param control UIKmlLuaControl ---@param b string @ "1"播放 "0" 暂停 function GUI:PlayVideo(control) end function GUI:StopVideo(control) end ---@param control UIKmlLuaControl function this:SetAsFirstSibling(control) end ---@param control UIKmlLuaControl function this:SetAsLastSibling(control) end ---@param control UIKmlLuaControl function this:SetTogDefaultThis(control) end ---@param control UIKmlLuaControl function this:GetRectSize(control) end ---@param control UIKmlLuaControl function this:GetWidth(control) end ---@param control UIKmlLuaControl function this:GetHeight(control) end ---@param control UIKmlLuaControl function this:GetGameObject(control) end ---@param control UIKmlLuaControl function this:HideAllChilds(control) end ---设置RichText玩家id ---@param control UIKmlLuaControl ---@param value string function GUI:RichText_setchatplayerid(control, value) end ---@param control UIKmlLuaControl function this:Image_DoColorFadeInKeepOut(control,fadeinTime,keepTime,fadeoutTime,onComplateFunc) end function this:Image_StopColorFadeInKeepOut(sequence) end ---@param control UIKmlLuaControl function this:DOAnchorPos(control,targetVec2,time) end ---@param control table @控件或者transform对象 function this:DOMove(control,targetVec3,time) end ---@param control table @控件或者transform对象 function this:DOMoveX(control,targetX,time) end ---@param control table @控件或者transform对象 function this:DOMoveY(control,targetY,time) end ---@param control table @控件或者transform对象 function this:DOMoveZ(control, targetZ, time) end ---@param control table @控件或者transform对象 function this:DOMoveLocal(control,targetVec3,time) end ---@param control table @控件或者transform对象 function this:DOMoveLocalX(control, targetX, time) end ---@param control table @控件或者transform对象 function this:DOMoveLocalY(control, targetY, time) end ---@param control table @控件或者transform对象 function this:DOMoveLocalZ(control, targetZ, time) end ---@param control UIKmlLuaControl function this:DOAnchorPosX(control,targetX,time) end ---@param control UIKmlLuaControl function this:DOAnchorPosY(control, targetY, time) end ---@param control UIKmlLuaControl ---@param leanRotateType ELeanRotateType function this:DORotate(control, targetVec3, time,leanRotateType) end ---@param control UIKmlLuaControl ---@param leanRotateRoundType ELeanRotateRoundType ---@param axis Vector3 ---@param add number function this:DORotateRound(control, axis,add, time,leanRotateRoundType) end ---@param control UIKmlLuaControl ---@param leanRotateType ELeanRotateType function this:DOScale(control, targetVec3, time) end ---@param control UIKmlLuaControl function this:DOAlphaCanvasGroup(control, to, time, isRecursive) end ---@param control UIKmlLuaControl function this:DOAlphaImage(control, to, time, isRecursive) end function this:DOAlphaText(control, to, time,isRecursive) end ---@param callOnComplete boolean @ 中断Tween的时候是否调用完成的回调函数 function this:DOKill(t,callOnComplete) end function this:TweenSetLoops(t,count) end ---@param type ELeanTweenType function this:TweenSetEase(t,type) end function this:TweenIsComplete(t) end function this:TweenSetRecursive(t,b) end function this:TweenSetOnComplete(t,func) end function this:TweenCreateSequence() end function this:TweenSequenceAppend(seq,t) end function this:TweenSequenceCancel(seq) end function this:SetZIndex(control, zindex) end ---@param parent UIKmlLuaControl ---@param baseUI UIKmlLuaPanelBase function GUI:UI_Open(list,filePath,baseUI,parent,args,isMulti,callback) end function GUI:IsWebGLAsync() end function GUI:CO_UI_Open(list,filePath,baseUI,parent,args,isMulti,isPreload,callback) end ---@return UIKmlLuaPanelBase function GUI:GetUI(filePath, isIncludeSubPanels) end ---@return UIKmlLuaPanelBase function GUI:GetUIByPanelName(panelName, isIncludeSubPanels) end ---@param ui UIKmlLuaPanelBase function GUI:IsUILoading(ui) end ---@param uipanel UIKmlLuaPanelBase ---@param uipanels table function GUI:UI_Close(filePath,uipanel,uipanelId,uipanels) end ---@param baseUI UIKmlLuaPanelBase ---@param parent UIKmlLuaControl ---@return UIKmlLuaPanelBase function GUI:UIPanel_Open(filePath,parent,baseUI,args,isMulti,callback) end ---UIPanel_Close ---@param filePath string @界面lua路径 ---@param uipanel UIKmlLuaPanelBase @可缺省,表示指定某个界面关闭,不填表示关闭所有filePath的界面 ---@param uipanelId string ---@return void @上面的参数有一个找到即可 function GUI:UIPanel_Close(filePath,uipanel,uipanelId,uipanels) end function GUI:UIPanel_CloseAll(exceptFilePaths, exceptsUIPanels, exceptsUIPanelIds) end function GUI:SetCacheUIPanel(path,panel, co) end function GUI:GetCacheUIPanel(path) end function GUI:StopUICloseCo(path) end ---SetUICacheTime ---@param path string ---@param cacheTime number @默认是0,表示不做缓存。非0情况下 UIPanel_Close 操作会调用OnHide。时间到了才会调用OnClose。-1,一直留在内存里面.只能设置一次,不能来回设置。 ---并且只支持单例界面,非别的界面的子界面 function GUI:SetUICacheTime(path,cacheTime) end function GUI:GetUICacheTime(path) end function GUI:PreLoadUI(path,count) end function GUI:UnPreLoadUI(path) end function GUI:HideAllIncludePreLoadUI() end function GUI:HideAllPreLoadUI(isForceHideAll) end function GUI:InPreLoadUI(path) end ---@param win UIKmlLuaPanelBase function GUI:PushPreLoadUI(path,win) end ---@param parent UIKmlLuaControl function GUI:PopPreLoadUI(path,parent) end function GUI:CloseAllUIWithoutMainUI() end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:UIPanel_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param handler UIKmlLuaControlHandler function GUI:Image_Create(handler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Text_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Button_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:CircleBar_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:CountDown_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:DataList_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Dropdown_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Effect_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Equip_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Frames_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:GridView_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Input_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param handler UIKmlLuaControlHandler function GUI:Item_Create(handler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:ItemGroup_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Layout_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:LoadingBar_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:LuaLoopScrollView_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Model_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:ModelDropdown_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:OSAScrollView_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Panel_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:PercentImg_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Prefab_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:RichText_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Role_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:ScrollView_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Slider_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:TextAtlas_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:Toggle_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:ToggleGroup_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:UISysPanel_Create(parentHandler, luaTable) end ---@return UIKmlLuaControl ---@param parentHandler UIKmlLuaControlHandler function GUI:UISysTemplate_Create(parentHandler, luaTable) end ---@param parentHandler UIKmlLuaControlHandler ---@param filePath string ---@return UIKmlLuaControl function GUI:LoadExport(parentHandler,filePath) end ---@param handler UIKmlLuaControlHandler ---@return UIKmlLuaControl function this:GetChildControl(handler,childIndex,id,kmlControlHandler) end function this:GetPath2UI_Pc(filePath) end