1234567891011121314151617181920212223242526 |
- using UnityEngine;
- using System.Collections;
- public class GameCenterAuthHandler : MonoBehaviour
- {
- /*void Start()
- {
- if (GameCenterBinding.isPlayerAuthenticated())
- {
- gameObject.SetActive(false);
- }
- }
- void OnClick()
- {
- GameCenterBinding.authenticateLocalPlayer();
- }
- void Update()
- {
- if (GameCenterBinding.isPlayerAuthenticated())
- {
- gameObject.SetActive(false);
- }
- }*/
- }
|