debugRender 新增camera参数来修正渲染位置

This commit is contained in:
yhh
2020-08-28 18:04:50 +08:00
parent a3c53116e1
commit 7a308f76b6
27 changed files with 236 additions and 192 deletions

View File

@@ -305,8 +305,8 @@ module es {
/**
* 在默认渲染器中如果Core.debugRenderEnabled为true则调用。自定义渲染器可以选择是否调用它。
*/
public debugRender(){
this.components.debugRender();
public debugRender(camera: Camera){
this.components.debugRender(camera);
}
/**