简体   繁体   English

如何从另一个package C# Unity打开特定场景

[英]How to open a specific scene from another package C# Unity

Anyone has an idea how can I open a specific scene from one apk to another apk?任何人都知道如何打开从一个 apk 到另一个 apk 的特定场景? Like I'm in the apk com.example1.test and want to go to the Scene MainMenu from apk com.example2.test.就像我在 apk com.example1.test 中一样,并且想要 go 从 apk com.example2.test 到 Scene MainMenu。

Thank you in advance,先感谢您,

Léon莱昂

I don't think there is a direct easy way to do it in Android.我认为在 Android 中没有直接简单的方法。

You can always store the parameters in the cloud (maybe using SystemInfo.deviceUniqueIdentifier as a key) open the other app, fetch your parameters.您始终可以将参数存储在云中(可能使用 SystemInfo.deviceUniqueIdentifier 作为键)打开另一个应用程序,获取您的参数。

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

相关问题 从另一个场景加载场景时加载的内容与在编辑器中首先选择该场景时加载不同(Unity,c#) - Scene loads differently when loaded from another scene than selecting that scene first, in the editor (Unity, c#) 如何通过凝视一个物体从一个场景转到另一个场景? - how to go from one scene to another scene by gazing an object in unity? 使用Unity5和C#从输入字段获取字符串并在另一个场景中显示字符串 - Using Unity5 and C# get strings from input fields and display strings in another scene (C# Unity) 停止计时器并在另一个场景中显示停止时间 - (C# Unity) Stoping timer and showing the stopped time in another scene unity C# 场景管理 - Unity C# Scene Management Unity 5 C#-如何更改场景并从上一场景导入所有资源 - Unity 5 C# - How to Change Scenes and Import all Resources from Last Scene Unity(C#):如何调用列表 <int> 来自不同的场景? - Unity (C#): How do I call a List<int> from a different Scene? 在 C# 中打开从特定远程服务器到另一台服务器的连接 - Open connection from specific remote server to another server in C# 如何使 ac# 脚本在场景开始时统一运行 - how to make a c# script run at scene start in unity 如何使用 c# 在 Unity 中移动到下一个级别/场景 - How to move to next level/scene in Unity using c#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM