Skip to content

Commit

Permalink
Merge pull request #4 from plaidev/release/0.0.6
Browse files Browse the repository at this point in the history
release 0.0.6
  • Loading branch information
kota authored Aug 19, 2021
2 parents bf4f4f5 + b0a00af commit 855454c
Show file tree
Hide file tree
Showing 46 changed files with 1,516 additions and 41 deletions.
Binary file modified KarteSDK.unitypackage
Binary file not shown.
6 changes: 5 additions & 1 deletion Unity/Assets/Karte/Samples/Karte.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Newtonsoft.Json.Linq;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

namespace Sample {
public class Karte : MonoBehaviour {
Expand All @@ -11,7 +12,6 @@ public class Karte : MonoBehaviour {
void Start () {
//SetupFirebase ();
ShowAppKeyAndVisitorId ();

InAppMessaging.OnOpenUrl += handleOpenUrl;
}

Expand Down Expand Up @@ -185,6 +185,10 @@ public void onUnsupressClick () {
InAppMessaging.unsuppress ();
}

public void OnMoveToScene2Click() {
SceneManager.LoadScene("sampleScene2");
}

private Text GetText (string objectName) {
GameObject gameObject = GameObject.Find (objectName);
return gameObject.GetComponent<Text> ();
Expand Down
11 changes: 11 additions & 0 deletions Unity/Assets/Karte/Samples/KarteScene2.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class KarteScene2 : MonoBehaviour
{
public void OnMoveToScene1Click() {
SceneManager.LoadScene("sampleScene");
}
}
11 changes: 11 additions & 0 deletions Unity/Assets/Karte/Samples/KarteScene2.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 855454c

Please sign in to comment.