Beispiel #1
0
        public static void ShowDailyBonus(JSONObject data, string url)
        {
            SpilLogging.Log("Opening URL: " + url + " With data: " + data.Print(false));

            SpilUnityImplementationBase.fireDailyBonusOpen();

            DailyBonus = (GameObject)Instantiate(AssetDatabase.LoadAssetAtPath <GameObject>("Assets/Spilgames/Editor/Prefabs/DailyBonus.prefab"));
            DailyBonus.SetActive(true);
        }
 /// <summary>
 /// This method is called by the native Spil SDK, it should not be used by developers.
 /// </summary>
 public void DailyBonusOpen()
 {
     SpilUnityImplementationBase.fireDailyBonusOpen();
 }