[SerializeField] private SoftwareCenterMainController _SoftwareCenter; // Software Center private void Awake() { // Create instance if (Instance == null) { Instance = this; } else { Destroy(this.gameObject); } // InstallerType = GameObject.FindGameObjectWithTag("SoftwareCenter").GetComponent<SoftwareCenterMainController>().GetApplicationAction(); // Set the installer // If downloading form software center than assign the software center if (SceneController.Instance.CheckIfLoaded(SceneController.Instance.SoftwareCenter)) { _SoftwareCenter = GameObject.FindGameObjectWithTag("SoftwareCenter").GetComponent <SoftwareCenterMainController>(); } }