GameCenterAuthHandler.cs 485 B

1234567891011121314151617181920212223242526
  1. using UnityEngine;
  2. using System.Collections;
  3. public class GameCenterAuthHandler : MonoBehaviour
  4. {
  5. /*void Start()
  6. {
  7. if (GameCenterBinding.isPlayerAuthenticated())
  8. {
  9. gameObject.SetActive(false);
  10. }
  11. }
  12. void OnClick()
  13. {
  14. GameCenterBinding.authenticateLocalPlayer();
  15. }
  16. void Update()
  17. {
  18. if (GameCenterBinding.isPlayerAuthenticated())
  19. {
  20. gameObject.SetActive(false);
  21. }
  22. }*/
  23. }