private void Start() { pauseMenu = GetComponent <PauseMenu>(); inventoryMenu = GetComponent <InventoryMenu>(); pauseMenu.Initialize(pauseMenuPanel); inventoryMenu.Initialize(inventoryMenuPanel); shipSelectionMenu.Initialize(shipSelectionMenuPanel); }