// make an intital connection to gamecenter and allow/disallow certain options based on iOS version and capabilities void InitializeGamecenter() { // if this device does not support social posting, disable the social minibuttons and center the audio minibutton if (GameSettings.ConnectToGameCenter() == false) { buttonTwitter.SetActive(false); buttonFacebook.SetActive(false); scriptVisualExit.defPos.x = scriptVisualAudio.defPos.x; scriptVisualAudio.defPos.x = scriptVisualFacebook.defPos.x; } }