Exemplo n.º 1
0
    void Start()
    {
        tmu = FindObjectOfType <TappxManagerUnity>();


        PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build();

        PlayGamesPlatform.InitializeInstance(config);
        PlayGamesPlatform.Activate();
    }
Exemplo n.º 2
0
    public void Awake()
    {
        if (mInstance == null)
        {
            mInstance = this;
            DontDestroyOnLoad(gameObject);
#if !UNITY_5_4_OR_NEWER
            OnLevelWasLoaded(0);
#endif
        }
        else
        {
            Destroy(gameObject);
        }
    }
Exemplo n.º 3
0
 public void Awake()
 {
     tmu = FindObjectOfType <TappxManagerUnity>();
 }
Exemplo n.º 4
0
 public void Awake()
 {
     if (mInstance == null)
     {
         mInstance = this;
         DontDestroyOnLoad(gameObject);
     }
     else
     {
         Destroy(gameObject);
     }
 }
Exemplo n.º 5
0
 // Use this for initialization
 void Start()
 {
     tmu = FindObjectOfType <TappxManagerUnity>();
 }