void StartLoad() { SetImageSpriteParam param = new SetImageSpriteParam(); param.abName = m_ABName; param.assetName = m_AssetName; param.img = m_Image; param.call = OnGetSprite; m_id = AtlasManager.SetImageSprite(param); }
private void OnDestroy() { AtlasManager.ReturnImageSprite(m_id); m_id = 0; }