魔兽地图编辑器吧 关注:64,835贴子:3,833,874
  • 2回复贴,共1

怎么隐藏原生UI

只看楼主收藏回复



IP属地:江苏1楼2024-11-21 03:16回复

    选择多个单位的frame隐藏


    IP属地:江苏2楼2024-11-21 03:17
    回复
      --Move the whole thing
      local unitFrame = BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0)
      local bottomCenterUI = BlzFrameGetParent(unitFrame)
      local groupFrame = BlzFrameGetChild(bottomCenterUI, 5)
      BlzFrameClearAllPoints(groupFrame)
      BlzFrameSetAbsPoint(groupFrame, FRAMEPOINT_CENTER, 0.4, 0.3)
      BlzFrameSetSize(groupFrame, 0.188125, 0.1140625)
      --Scale it up
      BlzFrameSetScale(groupFrame, 1.5)


      IP属地:江苏3楼2024-11-21 03:20
      回复