初識cocos Creator

var node = cc.instantiate(this.target);   //克隆節點html node.destroy()//銷燬節點 node cc.isValid(this.target)  //判斷借點是否銷燬 ide --獲取子節點注意層級  cc.find() this --設置圖片關於X翻轉spa --關於Y翻轉 3d 設置預製資源:code 將場景中的節點拖入下方的ass
相關文章
相關標籤/搜索