public void OnPlayButton() { if (Application.platform == RuntimePlatform.IPhonePlayer || Application.platform == RuntimePlatform.Android) { Debug.Log("OnPlayButton call SkillzCrossPlatform.LaunchSkillz"); GameDelegate gameDelegate = GameDelegate.getInstance(); SkillzCrossPlatform.LaunchSkillz(gameDelegate); } else { SceneManager.LoadScene("GameScene"); } }
public void PlayGame() { //isUsingSkillz = false; if (isUsingSkillz) { SkillzCrossPlatform.LaunchSkillz(); } else { SceneManager.LoadScene("GameScene"); } }
public void LaunchSkillz() { SkillzCrossPlatform.LaunchSkillz(new GameController()); }
// Start is called before the first frame update void Start() { SkillzCrossPlatform.LaunchSkillz(new GameController()); }
public void Launch() { SkillzCrossPlatform.LaunchSkillz(this); }