예제 #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);
        }
예제 #2
0
 /// <summary>
 /// This method is called by the native Spil SDK, it should not be used by developers.
 /// </summary>
 public void DailyBonusOpen()
 {
     SpilUnityImplementationBase.fireDailyBonusOpen();
 }