// Use this for initialization void Start() { body = GetComponent <Rigidbody2D> (); Dialog = UnityEngine.Object.FindObjectOfType <DialogManager> (); audioManager = UnityEngine.Object.FindObjectOfType <AudioManager>(); audioManager.PlaySound(1); Body = new Body(); Scanner = new Scanner(); Booster = new Booster(); Probe = new Probe(); Subzero = new Subzero(); Heat = new Heat(); Body.Start(); Scanner.Start(); Booster.Start(); Probe.Start(); Subzero.Start(); Heat.Start(); //hard coding some values in to make sure the rings work curr_battery = 100; true_battery = 100; starsVisited = 0; menuOpen = false; setUpTimer(); if (Global_Static.Continue) { Load(); } }