public bool AddAllowButton(string buttonName) { int instId = SearchInstanceId(GetStringId(buttonName)); if (instId < 0) { return(false); } if (m_allowButtonList == null) { m_allowButtonList = new AllowButtonList(); } m_allowButtonList[instId] = true; return(true); }
public void ClearAllowButton() { m_allowButtonList = null; }
public bool AddAllowButton(string buttonName) { int instId = SearchInstanceId(GetStringId(buttonName)); if (instId < 0) return false; if (m_allowButtonList == null) m_allowButtonList = new AllowButtonList(); m_allowButtonList[instId] = true; return true; }