Author Topic: Implementing separate UIs for Android and iOS  (Read 2136 times)

calledupon

  • Guest
Implementing separate UIs for Android and iOS
« on: December 18, 2012, 09:32:27 AM »
Hi,

Is it possible to create separate UIs for Android and iOS, but using only one Unity project. What I mean is that I would like to have buttons, etc. that look different on the two platforms. I would also like to avoid doing runtime checks to find out the platform I'm running on, as I believe this is bad practice. Please let me know otherwise ;)

Thanks :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Implementing separate UIs for Android and iOS
« Reply #1 on: December 18, 2012, 12:39:13 PM »
If you want your UI to look different then you need different UI layouts / prefabs, so the check to determine what platform it is and enabling / using the correct UI is unavoidable.

calledupon

  • Guest
Re: Implementing separate UIs for Android and iOS
« Reply #2 on: December 20, 2012, 05:33:42 AM »
Thanks!