Пример #1
0
        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);
        }
Пример #2
0
 private void OnDestroy()
 {
     AtlasManager.ReturnImageSprite(m_id);
     m_id = 0;
 }