public void LoadAtlas(ResourceType type, string altasName, ResLoadInfo.loadHandle onLoad = null) { string filePath = ""; filePath = Setup.UIResAtlasPath + altasName; m_waitList.Add(new ResLoadInfo(type, filePath, onLoad)); }
public void LoadTexture(ResourceType type, string textureName, ResLoadInfo.loadHandle onLoad = null) { string filePath = ""; filePath = Setup.UIResTexturePath + textureName; m_waitList.Add(new ResLoadInfo(type, filePath, onLoad)); }
public void LoadWindow(ResourceType type, string name, ResLoadInfo.loadHandle onLoad = null) { m_waitList.Add(new ResLoadInfo(type, name, onLoad)); }