コード例 #1
0
    private static int OnDisable(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 1);
            AIPath aIPath = (AIPath)ToLua.CheckObject(L, 1, typeof(AIPath));
            aIPath.OnDisable();
            result = 0;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }