void Start() { progressBar.value = progress; labLoading.text = "... Logging in ..."; FMPlayfabLogin.LoginCustomID("64646464", OnLoginSuccess); }
void Start() { //var request = new LoginWithCustomIDRequest { CustomId = "64646464", CreateAccount = false }; //PlayFabClientAPI.LoginWithCustomID(request, OnLoginSuccess, OnLoginFailure); FMPlayfabLoginBonus.Instance.OnResult = DisplayLoginBuses; if (!FMPlayfabLogin.IsClientLoggedIn()) { FMPlayfabLogin.LoginCustomID("64646464", OnLoginSuccess); return; } DisplayInfo(); }
void Start() { spawners.Add(particleSpawner.GetComponentsInChildren <FMParticleSpawner>()[0]); //check spawners.Add(particleSpawner.GetComponentsInChildren <FMParticleSpawner>()[1]); //coin CO spawners.Add(particleSpawner.GetComponentsInChildren <FMParticleSpawner>()[2]); //coin PC if (!FMPlayfabLogin.IsClientLoggedIn()) { Debug.Log("client was not logged"); FMPlayfabLogin.LoginCustomID("64646464", LoadPlayfabData); } LoadPlayfabData(null); }