public static GameObject PM; // GameObject holding player transformation variables and scripts private void Start() { if (instance == null) { instance = this; } else { Destroy(gameObject); } DontDestroyOnLoad(gameObject); if (PM == null) { PM = GameObject.Find("Player"); } // scripReadout.text = "Scrip: " + scrip.ToString(); // fuelSlider.value = startingFuel; // hullSlider.value = startingHull; }