Support => Other Packages => Topic started by: GregMeach on August 01, 2014, 02:50:44 PM
Title: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
Post by: GregMeach on August 01, 2014, 02:50:44 PM
Revised the Welcome Scene: I want to simulate accepting an EULA by clicking an "OKAY" button and then display the other buttons. Sounds simple enough...
I Moved the 2 buttons and input to a new panel and disabled it. Copied one of the buttons and renamed it "OKAY" and moved it back to the original panel. Wrote a new SGAccept script as follows:
public GameObject hiddenPanel;
public GameObject button;
/// <summary>
/// Hides itself and then enabled panel
/// </summary>
void OnClick ()
{
hiddenPanel.SetActive(true);
button.SetActive(false);
}
It works fine except for this console error: (yes there are two of them)
!dest.m_MultiFrameGUIState.m_NamedKeyControlList
!dest.m_MultiFrameGUIState.m_NamedKeyControlList
I've tried searing the entire code-base and also the forums but nothing came up.
Since I'm really trying to learn NGUI, just looking for some help understanding this error.
Title: Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
Post by: ArenMook on August 01, 2014, 09:49:57 PM
That's somewhere in Unity, so I'm not sure what that is. What version of Unity is that in?
Also note that SGSK doesn't use NGUI unless you get the version of this kit that does.
Title: Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
Post by: GregMeach on August 02, 2014, 05:47:53 AM
Yes, using the full combo one (SGSK + NGUI + TNet) and I'll double check but whatever is the newest (release version of Unity), v4.5.2?
I'll keep looking.
From an implementation stand point; it's okay to use .SetActive() via NGUI button OnClick() methods?
Title: Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
Post by: ArenMook on August 03, 2014, 10:34:11 AM
Sure, it's fine.
Title: Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
Post by: GregMeach on August 04, 2014, 06:47:30 AM
Cool, thanks
BTW: after a restart the error is no longer there and the button works fine