看板 [ Flash ]
討論串[問題] Pushbutton 的 makeEntity
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者ousapas (waliliadai)時間15年前 (2010/07/11 01:00), 編輯資訊
0
0
0
內容預覽:
我發現了一件詭異的事. 我分別用三種paramas. positionReference = new PropertyReference("@Spatial.position");. 1.PBE.makeEntity(spawnType, { positionReference: ..} );. 2
(還有201個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者cjcat2266 (CJ Cat)時間15年前 (2010/07/10 23:19), 編輯資訊
0
0
2
內容預覽:
直接看看makeEntity()裡面吧. 你去 //Fast case 那邊. 加入一個trace(). 檢查一下是PBE否有幫你設定到position property. function makeEntity(entityName:String, params:Object = null):IE
(還有954個字)

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者ousapas (waliliadai)時間15年前 (2010/07/10 18:16), 編輯資訊
0
0
2
內容預覽:
請問在用PBE.makeEntity(type:String, paramas:Object)時. paramas設成{"@Spatial.position": ...}. 和設成{ positionReference : ...}. positionReference:PropertyRefere
(還有510個字)
首頁
上一頁
1
下一頁
尾頁