网站首页 站内搜索

搜索结果

查询Tags标签: creator2.4,共有 1条记录
  • cocos creator2.4.3 组件 节点 预制体

    一直没弄明白,这两者啥关系, 看了一下底层源码,大致知道了些。一个组件必然会挂到node上。 在脚本组件中通过this.node.getComponent获取组件。creator 提供了this.getComponent 方法getComponent (typeOrClassName) {return this.node.getComponent(typeOrClassName);…

    2021/6/30 6:20:41 人评论 次浏览
扫一扫关注最新编程教程