Example #1
0
 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");
        }
    }
Example #3
0
 public void LaunchSkillz()
 {
     SkillzCrossPlatform.LaunchSkillz(new GameController());
 }
 // Start is called before the first frame update
 void Start()
 {
     SkillzCrossPlatform.LaunchSkillz(new GameController());
 }
Example #5
0
 public void Launch()
 {
     SkillzCrossPlatform.LaunchSkillz(this);
 }