zoukankan      html  css  js  c++  java
  • 对MobileMenuBase的使用

      Begin Object class="MobileMenuButton" Name=CloseButton
      Tag="Play"
      bRelativeLeft=true
      bRelativeTop=true
      bRelativeHeight=true
      bRelativeWidth=true
      bHeightRelativeToWidth=true
      Left=0.04
      Top=0
      Width=0.25          
      Height=1.0
      Caption="Play!"
      bCaptionShadow=true
      Images(0)=Texture2D'ChickenHUD.HenIcon'
      Images(1)=Texture2D'ChickenHUD.HenIcon'
      CaptionColor=(R=1.0,G=1.0,B=0.0,A=1.0)
      CaptionScale=1.1
     End Object
     MenuObjects.Add(CloseButton)

    event OnTouch(MobileMenuObject Sender,float TouchX, float TouchY, bool bCancel)

    {

        if(Sender==none)

    return;

        Switch(Sender.Tag)

        {

          case "Play":

            Fade(true,1.0);

            Break;
        }

    }

  • 相关阅读:
    2021.10 好运气
    2021.9 抢购
    2021.8 全周期工程师
    2021.7 创业者
    2021.6 过年
    jenkins学习17
    httprunner 3.x学习18
    httprunner 3.x学习17
    python笔记57-@property源码解读与使用
    httprunner 3.x学习16
  • 原文地址:https://www.cnblogs.com/NEOCSL/p/3128678.html
Copyright © 2011-2022 走看看