コード例 #1
0
ファイル: lwf_core.cs プロジェクト: osdakira/lwf
        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);
        }
コード例 #2
0
ファイル: lwf_core.cs プロジェクト: osdakira/lwf
 public void ClearAllowButton()
 {
     m_allowButtonList = null;
 }
コード例 #3
0
ファイル: lwf_core.cs プロジェクト: rayyee/lwf
	public void ClearAllowButton()
	{
		m_allowButtonList = null;
	}
コード例 #4
0
ファイル: lwf_core.cs プロジェクト: rayyee/lwf
	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;
	}