FairyGUI.GRoot.HidePopup C# (CSharp) Method

HidePopup() public method

Close all popups.
public HidePopup ( ) : void
return void
        public void HidePopup()
        {
            HidePopup(null);
        }

Same methods

GRoot::HidePopup ( GObject popup ) : void

Usage Example

Example #1
0
    static int HidePopup(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1 && TypeChecker.CheckTypes(L, 1, typeof(FairyGUI.GRoot)))
            {
                FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.ToObject(L, 1);
                obj.HidePopup();
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(FairyGUI.GRoot), typeof(FairyGUI.GObject)))
            {
                FairyGUI.GRoot   obj  = (FairyGUI.GRoot)ToLua.ToObject(L, 1);
                FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.ToObject(L, 2);
                obj.HidePopup(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GRoot.HidePopup"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
All Usage Examples Of FairyGUI.GRoot::HidePopup