• 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 /
This question was closed Dec 31, 2015 at 04:40 PM by zastrow for the following reason:

Other

avatar image
0
Question by zastrow · Dec 29, 2015 at 07:19 PM · sociallandscapegame centerportrait

Social.localUser will Automatically call GameCenter Login Screen - How do I stop that?

 Social.localUser.Authenticate(ProcessAuthentication);

If I am not logged into GameCenter on my iOS device, this code triggers the login screen.

I don't want that, how do I stop that from occurring?

The problem is, this login screen changes my Game Orientation from Landscape to whatever the device orientation is, effectively over riding my settings. Even if I put;

     void Update()
     {
         Screen.orientation = ScreenOrientation.LandscapeLeft;
     }

In my code.

I either need to stop the login from occurring or control it's Orientation.

Anyone else have this issue?

Comment
Add comment
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

0 Replies

  • Sort: 

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

32 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 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

In App Game Center Leaderboard and Login use Device Orientation and Change Unity Orientation in the Game 0 Answers

IOS orientation loss on scene change 2 Answers

iOS Game Center displays "No Challenges" Instead of Achievements/Leaderboards 3 Answers

How can the iPad keyboard be properly landscaped? It always defaults to portrait 0 Answers

How to Support AdMob Banner for Landscape and Portrait Modes 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges