NGUI: cannot find my panel

i have 2 panel in my root,
in the first panel, there is a button
and one i click it, it will call the function to active the panel2 by

GameObject teammeun = GameObject.Find(“team creation meun”);
NGUITools.SetActive(teammeun ,true);

while null reference exception occur,
I use Debug.Log to print the teammeun, it also give me null
Any idea?
Thank you

20297-a.jpg

From the documentation of GameObject.Find: “This function only returns active gameobjects”.

So if your panel is deactivated by default, you need to use another way of activating it, for example by storing a reference to it in the code that activates it.