/// <summary> /// are you sure you want to construct your own BackgroundManager? You may want to use /// SceneManager.GetInstance().GetBackgroundManager() instead /// </summary> /// <param name="backgroundComponent">a background component which houses the relevent UI elements</param> public BackgroundManager(BackgroundComponent backgroundComponent) { m_backgroundComponent = backgroundComponent; // assign references to the relevant UI elements m_imageBackground = backgroundComponent.GetImageBackground(); m_colourBackground = backgroundComponent.GetColourBackground(); }
public BackgroundManager(BackgroundComponent backgroundComponent) { m_backgroundComponent = backgroundComponent; m_imageBackground = backgroundComponent.GetImageBackground(); m_colourBackground = backgroundComponent.GetColourBackground(); }