Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Help with my Save and load script please!

$
0
0
So i made this script to load and save i am jsut testing and plan to add more variables later however when i created the script i got a error ![alt text][1] Here is my Click Script which has the gold float inside using System.Collections; using UnityEngine; public class Click : MonoBehaviour { public UnityEngine.UI.Text GPC; public UnityEngine.UI.Text goldDisplay; public float gold = 0.00f; public int goldperclick = 1; void Update () { goldDisplay.text = "Gold : " + Currency.Instance.GetCurrencyIntoString(gold, false, false); GPC.text = "GPC: " + goldperclick; } public void Clicked(){ gold = gold + goldperclick; } } [1]: /storage/temp/87850-error.png

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>