IEnumerator CreateToolButton() { while (m_toolButton == null) { m_toolButton = TryCreateToolButton(); yield return new WaitForEndOfFrame(); } }