如何为“我的联合 iPhone”应用程序制作“exe”
我使用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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你需要更清楚地了解你的问题。
首先,您是否为鼠标控制添加了输入控件?如果没有,请转到输入设置并添加它。在那里,您基本上可以定义哪些输入事件(鼠标、键盘、操纵杆、触摸屏)映射到哪些操作。
例如,如果您想要鼠标和键盘移动,则必须添加水平轴和垂直轴两次。一次用于鼠标输入,一次用于键盘输入。我想 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.