/// <summary> /// /// </summary> /// <returns></returns> private bool EvaluateBackgroundNode() { BackgroundManager backgroundManager = m_sceneManager.GetBackgroundManager(); if (backgroundManager != null) { if (m_currentNode is BackgroundNode) { m_nodeProcessor.ProcessBackground(); return(true); } } else { if (m_currentNode is BackgroundNode) { Debug.LogError("DEVN: SceneManager needs a BackgroundComponent if you are using background nodes!"); } } return(false); }