public void ShowRank() { //googlePlayObj = GameObject.Find("GooglePlay"); //if (googlePlayObj != null) { // googlePlayScript = googlePlayObj.GetComponent<Googleplay> (); //} if (googlePlayScript != null) { googlePlayScript.ShowLeaderboard(); } }
public void showLeaderboard() { gp = GameObject.Find("GooglePlay"); gpScript = gp.GetComponent <Googleplay>(); gpScript.ShowLeaderboard(); }