SymbolTextInit同步加载
This commit is contained in:
parent
a023b74e8d
commit
85598094c6
@ -75,13 +75,14 @@ namespace WXB
|
|||||||
|
|
||||||
static void Init()
|
static void Init()
|
||||||
{
|
{
|
||||||
//SymbolTextInit sti = Resources.Load<SymbolTextInit>("SymbolTextInit");
|
SymbolTextInit sti = Resources.Load<SymbolTextInit>("SymbolTextInit");
|
||||||
ResourceMgr.Instance.GetGoFromPoolAsync(Constants.UICommonPath, "SymbolTextInit", (o) =>
|
|
||||||
{
|
|
||||||
var go = o;
|
|
||||||
var sti = go.GetComponent<SymbolTextInit>();
|
|
||||||
sti.init();
|
sti.init();
|
||||||
});
|
// ResourceMgr.Instance.GetGoFromPoolAsync(Constants.UICommonPath, "SymbolTextInit", (o) =>
|
||||||
|
// {
|
||||||
|
// var go = o;
|
||||||
|
// var sti = go.GetComponent<SymbolTextInit>();
|
||||||
|
// sti.init();
|
||||||
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Font GetFont(string name)
|
public static Font GetFont(string name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user