LUA中判断GameObject是否被Destory

function IsNil(uobj)
    return uobj == nil or uobj:Equals(nil)
end

你懂的