1. 首页
  2. 数据库
  3. 其它
  4. phaser plugin update:自动运行游戏对象的更新方法 源码

phaser plugin update:自动运行游戏对象的更新方法 源码

上传者: 2021-02-22 03:20:22上传 ZIP文件 24KB 热度 4次
Phaser 3更新插件 自动运行游戏对象的update方法。 new Phaser . Game ( { plugins : { scene : [ { key : 'updatePlugin' , plugin : PhaserUpdatePlugin , mapping : 'updates' } ] } } ) ; 在场景中: this . updates . add ( gameObject ) ; // or this . updates . addMultiple ( [ gameObject1 , gameObject2 ] ) ;
下载地址
用户评论