简体   繁体   English

XNA中的深层吐司通知

[英]Deep toast notification in XNA

Is there any way to receive parameters from deep toast notification, so that I can navigate to specified game state? 有什么方法可以从深层敬酒通知中接收参数,以便我可以导航到指定的游戏状态? I see deep toast allow this but its parameters passed to 我看到深吐司允许这样做,但其参数已传递给

protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) 

and I can't figure out how to handle it, because it is unavaible in XNA. 而且我不知道如何处理它,因为它在XNA中不可用。
If I send deep toast notification while app is running I recieve all parameters and can handle them. 如果在应用程序运行时发送深层敬酒通知,我将接收所有参数并可以处理它们。 So my question is similiar to this but I need to do that in XNA. 所以我的问题与类似,但是我需要在XNA中进行。
PS: xna/wp7 project, not slxna. PS:xna / wp7项目,而不是slxna。

XNA中来自NavigationEventArgs所有信息都通过LaunchParameters传递,可以从主要游戏类中获得。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM