Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 93888

prefab的2种加载方式有什么区别?

$
0
0

@111518 写道:

prefab通过编辑器拖到脚本的properties里,然后cc.instantiate
和通过cc.loader.loadRes(需要手动release),后再cc.instantiate

帖子: 10

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 93888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>