void Start() { numberDrawer = GameObject.Find("Numbers"); numberTxt = numberDrawer.GetComponent <NumberTexture> (); scale = 2.0f; numberScale = 4.0f; medalManager = GameObject.Find("Medal"); medalComp = medalManager.GetComponent <MedalManager> (); }
void Awake() { if (Instance == null) { DontDestroyOnLoad(gameObject); Instance = this; } else if (Instance != this) { Destroy(gameObject); } medalTimes = new Dictionary <string, MedalTime>(); LoadMedalTimes(); }
public void LifeOver() { m_instance = null; }