雜七雜八,程式碼、Unity、還有遊戲
for (var i:uint = 0; i < this.numChildren;i++){ var child = this.getChildAt(i); if (child is SimpleButton){ trace(child,"is SimpleButton"); } }