FairyGUI.EventListener.Call C# (CSharp) Method

Call() public method

public Call ( ) : bool
return bool
        public bool Call()
        {
            return owner.InternalDispatchEvent(this._type, _bridge, null, null);
        }

Same methods

EventListener::Call ( object data ) : bool

Usage Example

示例#1
0
    static int Call(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1)
            {
                FairyGUI.EventListener obj = (FairyGUI.EventListener)ToLua.CheckObject <FairyGUI.EventListener>(L, 1);
                bool o = obj.Call();
                LuaDLL.lua_pushboolean(L, o);
                return(1);
            }
            else if (count == 2)
            {
                FairyGUI.EventListener obj = (FairyGUI.EventListener)ToLua.CheckObject <FairyGUI.EventListener>(L, 1);
                object arg0 = ToLua.ToVarObject(L, 2);
                bool   o    = obj.Call(arg0);
                LuaDLL.lua_pushboolean(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.EventListener.Call"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
All Usage Examples Of FairyGUI.EventListener::Call