void Start() { tmu = FindObjectOfType <TappxManagerUnity>(); PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build(); PlayGamesPlatform.InitializeInstance(config); PlayGamesPlatform.Activate(); }
public void Awake() { if (mInstance == null) { mInstance = this; DontDestroyOnLoad(gameObject); #if !UNITY_5_4_OR_NEWER OnLevelWasLoaded(0); #endif } else { Destroy(gameObject); } }
public void Awake() { tmu = FindObjectOfType <TappxManagerUnity>(); }
public void Awake() { if (mInstance == null) { mInstance = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); } }
// Use this for initialization void Start() { tmu = FindObjectOfType <TappxManagerUnity>(); }