Пример #1
0
 //绘制信息的类
 private static void SetDrawSpriteAsset(SpriteAsset spriteAsset)
 {
     //添加
     if (_drawSpriteAsset == null)
     {
         _drawSpriteAsset = new DrawSpriteAsset(spriteAsset);
     }
     else
     {
         _drawSpriteAsset.SetSpriteAsset(spriteAsset);
     }
 }