void Update() { if (m_flowManager.m_playerPink.transform.localPosition.y <= m_deathPlane) { if (m_flowManager.IsPinkAlive()) { m_flowManager.KillMrPink(); } } if (m_flowManager.m_playerYellow.transform.localPosition.y <= m_deathPlane) { if (m_flowManager.IsYellowAlive()) { m_flowManager.KillMrYellow(); } } }