lua gameobject 销毁后怎么判断为空

如题所述

第1个回答  2017-05-10
var obj = {};function abc(obj){for(var k in obj){if(obj[k]){ return obj;}}return null;}abc(obj);