Example #1
0
        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);
        }
Example #2
0
 public void ClearAllowButton()
 {
     m_allowButtonList = null;
 }
Example #3
0
	public void ClearAllowButton()
	{
		m_allowButtonList = null;
	}
Example #4
0
	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;
	}