예제 #1
0
 public static SpriteRenderer GetCodeSprite(string spriteName)
 {
     if (!SystemConfig.IsReadUIImageOn)
     {
         return(ResourceManagerBase.GetNullSprite());
     }
     if (GameDataUtils.IsCodeIconExist(spriteName))
     {
         return(AssetManager.AssetOfTPManager.GetSpriteRenderer(spriteName));
     }
     return(AssetManager.AssetOfTPManager.GetSpriteRenderer("99999"));
 }