npm run build

This commit is contained in:
jerrywwl
2019-01-23 10:50:33 +08:00
committed by Yun Hsiao Wu
parent bf1a736a6d
commit 1bba1fab87
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -34,6 +34,11 @@ export class UIMaterial {
}
public initialize (info: IUIMaterialInfo): boolean {
if (!this._material) {
return false;
}
this._material = info.material;
this._pass = this._material.passes[0];
+1 -1
View File
@@ -106,7 +106,7 @@ export class UI {
// material.setProperty('mainTexture', texture);
material.update();
this._uiMaterial = this.createUIMaterial( { material });
// this._uiMaterial = this.createUIMaterial( { material });
return true;
}