Exemplo n.º 1
0
 //绘制信息的类
 private void SetDrawSpriteAsset(SpriteAsset spriteAsset)
 {
     //添加
     if (_drawSpriteAsset == null)
     {
         _drawSpriteAsset = new DrawSpriteAsset(spriteAsset);
     }
     else
     {
         _drawSpriteAsset.SetSpriteAsset(spriteAsset);
     }
 }