mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
commit files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user