public void OnNotify(GameSection.NOTIFY_FLAG notify_flags) { int i = 0; for (int count = uiList.Count; i < count; i++) { UIBehaviour uIBehaviour = uiList[i]; if (!(uIBehaviour is GameSection)) { uIBehaviour.OnNotify(notify_flags); } } }