commit files

This commit is contained in:
jerrywwl
2019-01-23 10:56:43 +08:00
committed by Yun Hsiao Wu
parent 1bba1fab87
commit 67d0a95e4d
+3 -2
View File
@@ -100,14 +100,15 @@ export class UI {
type: GFXCommandBufferType.PRIMARY,
});
/*
// create ui material
const material = new Material();
material.effectName = 'sprite-material';
// material.setProperty('mainTexture', texture);
material.update();
// this._uiMaterial = this.createUIMaterial( { material });
this._uiMaterial = this.createUIMaterial( { material });
*/
return true;
}