예제 #1
0
 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]);
 }
예제 #2
0
 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];
 }