如何为“我的联合 iPhone”应用程序制作“exe”

发布于 2024-10-06 08:41:25 字数 372 浏览 3 评论 0原文

我使用unity iphone创建了一个游戏。我的游戏中有六个角色,首先您单击一个角色,该角色被选中,然后您单击一个目标位置,所选角色将移动到您的目标位置。这个函数在unity3d iphone引擎中运行良好。但是当我为它建立一个exe文件时,虽然exe文件可以在window xp中打开,但我只能选择字符,其余操作都不起作用。我不知道是什么原因导致这个问题,你能给我吗一些建议。 我的构建步骤如下: 在团结... 从顶部菜单中选择“文件”。 选择“构建设置” 选择“电脑和Mac Standalone”位于平台栏下(左下角) 在标有“目标平台”的组合框中选择“Windows” 单击“切换平台”按钮(左下角第一个按钮)。 当所有资源都已重新转换以适合新平台时,您就可以单击构建按钮(右下角)。

提前致谢。

I created a game using unity iphone.there are six characters in my game,first you click one character,the character was selected, and then you click a target position,the selected character will move to your target position. this function work well in the unity3d iphone engine. however when i build an exe file for it, although the exe file can be opened in window xp, I can only selected the character,the rest operation can't work.I don't know what cause this problem, can you give me some advise.
My build step is below:
In Unity…
Select “File” from the top menu.
Select “Build Settings”
Select “PC & Mac Standalone” under the platforms column (lower left)
On the combo box labelled “Target Platform” select “Windows”
Click “Switch Platform” button (lower left, 1st button).
When all the assets have been reconverted to suit the new platform, you’ll be ready to click the build button (lower right).

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

作妖 2024-10-13 08:41:25

你需要更清楚地了解你的问题。

首先,您是否为鼠标控制添加了输入控件?如果没有,请转到输入设置并添加它。在那里,您基本上可以定义哪些输入事件(鼠标、键盘、操纵杆、触摸屏)映射到哪些操作。

例如,如果您想要鼠标和键盘移动,则必须添加水平轴和垂直轴两次。一次用于鼠标输入,一次用于键盘输入。我想 iPhone 也是如此,因为它是触摸屏,你可能必须添加某种轴或代码来正确处理它。不能透露更多,因为我没有 iPhone,也没有它的统一许可证。

其次,您的问题更适合在 http://answers.unity3d.com/ 上提出,这是 Unity 的官方 Stockexchange 版本,用于提问/回答问题,并且那里只有 Unity 开发人员。

You'd need to be more clear on your problem.

First of, did you added Input controls for Mouse control? If not, go to Input settings and add it. There you can basically define which input events (mouse, keyboard, joystick, touchscreen) are mapped to what actions.

For example, if you want mouse and keyboard movement, you have to add Horizontal and Vertical axis twice. Once for mouse input, one for keyboard input. I guess it's same for iPhone, since it's touchscreen you probably have to add some kind of axis or code which will handle it correctly. Can't tell much more, as I don't have iPhone neither the unity license for it.

Second off, your question would be more appropiate to be asked at http://answers.unity3d.com/, which is unity's official Stockexchange version for asking/answering questions and there are only unity developers there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文