예제 #1
0
    //方法,执行MoreGame按钮被点击之后的操作
    public void MoreGameButtonClick()
    {
        //如果设置界面响应点击
        if (settingInterfaceClickEnable)
        {
            #if (IOS_SDK)
            //评论
            SdkToU3d.MoreGames();

            //按钮追踪
            SdkToU3d.TrackButtonActionWithName("MoreGameButton");
            #endif

            //播放按钮音效
            MyClass.AudioPlay(soundPlayer, Resources.Load <AudioClip>("Audio/Button"), MyClass.soundEnable);
        }
    }