123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import { SpriteAtlas } from "cc"
- import { AssetType, resLoader } from "../res/ResLoader"
- import { AsyncQueue, NextFunction } from "../queue/AsyncQueue";
- export class MaterialUtil {
- static iconGame: SpriteAtlas = null;
- static iconFilter: SpriteAtlas = null;
- static Restart() {
- }
- static init(callback) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
- _loadRes(LoadType: AssetType, Url, Back) {
- resLoader.load('package', Url, LoadType, (error: Error, res) => {
- if (!error) {
- Back(res)
- }
- });
- }
-
-
-
-
-
-
-
-
- }
|