Exemplo n.º 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");
     }
 }
Exemplo n.º 2
0
    public void PlayGame()
    {
        //isUsingSkillz = false;

        if (isUsingSkillz)
        {
            SkillzCrossPlatform.LaunchSkillz();
        }
        else
        {
            SceneManager.LoadScene("GameScene");
        }
    }
Exemplo n.º 3
0
 public void LaunchSkillz()
 {
     SkillzCrossPlatform.LaunchSkillz(new GameController());
 }
 // Start is called before the first frame update
 void Start()
 {
     SkillzCrossPlatform.LaunchSkillz(new GameController());
 }
Exemplo n.º 5
0
 public void Launch()
 {
     SkillzCrossPlatform.LaunchSkillz(this);
 }