"景先生毕设|www.jxszl.com

C# ApplicationLauncherButton类代码示例

2023-12-29 17:05编辑: www.jxszl.com景先生毕设
本文整理汇总了C#中ApplicationLauncherButton类的典型用法代码示例。如果您正苦于以下问题:C#ApplicationLauncherButton类的具体用法?C#ApplicationLauncherButton怎么用?C#ApplicationLauncherButton使用的例子?这里精选的类代码示例或许可以为您提供帮助。 示例1:InitAppLauncherButton internalApplicationLauncherButtonInitAppLauncherButton() { btnAppLauncher=null; try { btnAppLauncher=ApplicationLauncher.Instance.AddModApplication( onAppLaunchToggleOn,onAppLaunchToggleOff, onAppLaunchHoverOn,onAppLaunchHoverOff, null,null, ApplicationLauncher.AppScenes.ALWAYS, texButton); //AppLauncherButtonMutuallyExclusive(settings.AppLauncherMutuallyExclusive); //btnAppLauncher=ApplicationLauncher.Instance.AddApplication( //onAppLaunchToggleOn,onAppLaunchToggleOff, //onAppLaunchHoverOn,onAppLaunchHoverOff, //null,null, //(Texture)Resources.texAppLaunchIcon); //btnAppLauncher.VisibleInScenes=ApplicationLauncher.AppScenes.FLIGHT; } catch(Exceptionex) { MonoBehaviourExtended.LogFormatted("AppLauncher:FailedtosetupAppLauncherButton {0}",ex.Message); btnAppLauncher=null; } returnbtnAppLauncher; }
原文链接:http://www.jxszl.com/biancheng/C/556557.html