Cocos Creator 記錄三-生命週期

更改節點位置node 分別對 x 軸和 y 軸座標賦值:web this.node.x = 100; this.node.y = 50; 使用 setPosition 方法:編輯器 this.node.setPosition(100, 50); this.node.setPosition(cc.v2(100, 50)); 設置 position 變量:svg this.node.position
相關文章
相關標籤/搜索