Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by hasnain2663 · Jul 18, 2013 at 03:49 PM · androidios

difference betwwen ios and android

I hope i'm not asking a question that has been asked many times before.

I'm making a game for mobile,ios and android.So my question is that when scripting and designing my game what differences are there between ios and android?

I know that for ios deployement i'll need a mac but to develop the game,i could do that from windows,right?So would it be the same both for ios and android apart from that deployment part?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hasnain2663 · Jul 18, 2013 at 04:12 PM 0
Share

Thanks you so much everybody.I'm in love with unity's ease of use.I've been struggling with many other engines before co$$anonymous$$g to unity.And i'm sure now more than ever that my game will be a dream come true. Cheers :)

avatar image InfiniBuzz · Jul 18, 2013 at 04:18 PM 0
Share

let us know what you created when its finished, and good luck ;)

avatar image hasnain2663 · Jul 18, 2013 at 04:30 PM 0
Share

I'll love too.I'm Grateful for having unity:)

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by amphoterik · Jul 18, 2013 at 03:51 PM

Apart from some physical device differences (such as multi-touch) and deployment / testing, development is exactly the same. More information can be found here:

http://unity3d.com/unity/multiplatform/mobile

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hasnain2663 · Jul 18, 2013 at 03:58 PM 0
Share

So this means that i'll write the same code for both ios and android?there api for ios and android is the same?

avatar image amphoterik · Jul 18, 2013 at 03:59 PM 0
Share

That is correct. Unity handles all of the device specific communication. You get to focus on the game. Now, I am not saying there aren't SO$$anonymous$$E differences, but those tend to be very deep in the code and will hardly ever surface.

avatar image save · Jul 18, 2013 at 04:00 PM 0
Share

@hasnain2663 Please don't post comments as answers. On a happier note, yes the api is the same and quite well streamlined today. :)

avatar image
2

Answer by InfiniBuzz · Jul 18, 2013 at 04:05 PM

One big thing that cause me some troubles this and the last week is that iOS is AOT (Ahead of time) compiled platform while android devices use JIT (just in time) compiled code.

This can cause problems with: Interfaces, delegates and events, generic datatypes and serialization and probably a few others.

So if you are likely to use interfaces and events, lists (iterate over them) and so on take care that its aot-safe!

It is possible that you will run into problems on iOS while your code runs well on other platforms. Don't be afraid there are workarounds but sometimes tricky to find the actual cause of crashes and things.

And if you are lucky you will never experience such problems ;) as @save and @amphoterik said it's well optimized already and you won't really need to care about while coding but it still has some "special cases" .

Good luck

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image amphoterik · Jul 18, 2013 at 04:24 PM 0
Share
  • good info.

avatar image hasnain2663 · Jul 18, 2013 at 04:31 PM 0
Share

i hope i dont.$$anonymous$$y game is fairly simple:)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Strange graphic bugs with Vuforia on Android and iOS 0 Answers

iOs weird textures (good on android) the reason? How to fix ? 1 Answer

How to change type of vibration on Android/IOS? 3 Answers

Android build not working properly 0 Answers

Face Tracking using openCV is not working accurately 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges