Beispiel #1
0
 public void QuitExport()
 {
     AnalyticsExport.SendToExport("Time spent in Normal biome " + TimeSpentInNormal.ToString() + " s");
     AnalyticsExport.SendToExport("Time spent in Mountain biome " + TimeSpentInMountain.ToString() + " s");
     AnalyticsExport.SendToExport("Time spent in Shallow biome " + TimeSpentInShallow.ToString() + " s");
     AnalyticsExport.SendToExport("Time spent in Sunrise biome " + TimeSpentInSunrise.ToString() + " s");
     AnalyticsExport.SendToExport("Time spent in Swamp biome " + TimeSpentInSwamp.ToString() + " s");
     AnalyticsExport.SendToExport("Time spent in Tundra biome " + TimeSpentInTundra.ToString() + " s");
     AnalyticsExport.SendToExport("Time spent in Twilight biome " + TimeSpentInTwilight.ToString() + " s");
     Debug.Log(AnalyticsExport.ExportData());
 }
Beispiel #2
0
    public void UnlockBiome()
    {
        string namebiom = lockedBiomes[0].ToString();

        unlockedBiomes.Add(lockedBiomes[0]);
        lockedBiomes.RemoveAt(0);

        StartCoroutine(DestroyWallsBetweenAll(unlockedBiomes));
        float time = Time.time - current_time;

        AnalyticsExport.SendToExport("Time to unlock " + namebiom + time.ToString());
        current_time = Time.time;
    }
Beispiel #3
0
    public void EnableFishingUI()
    {
        fishingui.SetActive(true);
        fishingui.GetComponent <spawndots>().numberOfbeats     = 10;
        fishingui.GetComponent <spawndots>().numberOfbeatscopy = 10;

        string exportString = string.Concat("Time between fishing spot: ", timeBetweenFishing.ToString(), " Biome: ",
                                            playerStats.getBiome());

        Debug.Log(exportString);

        AnalyticsExport.SendToExport(exportString);
    }
Beispiel #4
0
    IEnumerator SimnpleDelay(float finalres)
    {
        yield return(new WaitForSeconds(1f));

        slider.value = 0;
        gameObject.SetActive(false);
        Player_UI.SetActive(true);
        //gameObject.GetComponent<spawndots>().enabled = false;
        AnalyticsExport.SendToExport(finalres.ToString());
        foreach (Transform child in transform)
        {
            Destroy(child.gameObject);
        }
    }
Beispiel #5
0
 //Export the session length to the analytics
 public void QuitExport()
 {
     AnalyticsExport.SendToExport("Session length: " + ConvertSecondsToTime(Timer));
 }
Beispiel #6
0
 public void QuitExport()
 {
     AnalyticsExport.SendToExport(FishCaughtString);
 }