protected ImageItem createImage(string spriteName, ResLoadState resLoadState) { m_path2Image[spriteName] = new ImageItem(); m_path2Image[spriteName].atlasScriptRes = this; m_path2Image[spriteName].spriteName = spriteName; m_path2Image[spriteName].refCountResLoadResultNotify.resLoadState.copyFrom(resLoadState); return(m_path2Image[spriteName]); }
protected ImageItem createImage(string spriteName, ResLoadState resLoadState) { m_path2Image[spriteName] = new ImageItem(); m_path2Image[spriteName].atlasScriptRes = this; m_path2Image[spriteName].spriteName = spriteName; m_path2Image[spriteName].refCountResLoadResultNotify.resLoadState.copyFrom(resLoadState); return m_path2Image[spriteName]; }