Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9188487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:01:13+00:00 2026-06-17T20:01:13+00:00

I am building a game in Unity3D for iOS and Android. For leaderboards and

  • 0

I am building a game in Unity3D for iOS and Android. For leaderboards and achievements, I want to use GREE in Android and Gamecenter in iOS. So, when building from Unity3D, is it possible to configure in such a way that GREE libs and files are not present in XCode project and iOS have no dependancy with GREE?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:01:14+00:00Added an answer on June 17, 2026 at 8:01 pm

    In the script, you can use the Platform Dependent Compilation to control which part of code get compiled and which part not. For example, you can write something like this:

    static public void showLeaderBoard()
    {
    #if UNITY_IPHONE
       //Show GameCenter leader board
    #elif UNITY_ANDROID
       //Show GREE's leader board 
    #endif
    }
    

    Because you have just the same script for both iOS and Android, this script you write will be no issue for build. And for the purpose of preventing libs and files (I think they might all be plugin) show in wrong project folder, you can try to use the folders in your /Assets/Plugins/ folder. Put all iOS-only files to /Assets/Plugins/iOS/ and all Android-only files to /Assets/Plugins/Android/. After building for different platform, Unity will copy the files in corresponding folder to your iOS/Android project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If your building a game or interactive website and want to use the arrow
I am building a game for android and I want to put the game
I am using Xcode 4.2 and building a game for iphone (from iOS 3.0
I'm building a little Android game using libgdx. For now I have a copy
I'm diving into iOS development and am building a game that has multiple game
I'm building a game such as Same Game , when I have to create
Im building a game with a lot of players and I want to find
I'm building an iOS game that will have both singleplayer and multiplayer modes. I'm
I am building a game in Cocos2d-iPhone, and while I was updating to iOS
I've been building a game application for iOS. The application was working fairly well,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.