// Update is called once per frame void Update() { if (++counter == 500) { hm = new HoldingsManager(); Holding holding = hm.GetHoldingAt("11B", DateTime.Now); hm.AddNewUserHolding(holding, 20); } else { if (hm != null) { text.text = Application.persistentDataPath + " " + hm.GetUserHoldings().Count; } else { text.text = Application.persistentDataPath + " HLO! " + counter; } } }