public void Awake() { DontDestroyOnLoad(gameObject); GameObject systemsContainer = new GameObject("Systems"); SystemsContainer = systemsContainer.transform; SystemsContainer.SetParent(transform); GameObject screensContainer = new GameObject("Screens"); ScreensContainer = screensContainer.transform; ScreensContainer.SetParent(transform); }