Files
taptap2024_GJ_chidouren/Assets/Scripts/Game/Manager/SpriteLoaderMgr.cs
2024-10-16 00:03:41 +08:00

30 lines
979 B
C#

using System;
using System.Collections.Generic;
using Framework.Asset;
using Framework.Utils.SingletonTemplate;
using Game.Data.BaseData;
using UnityEngine;
namespace Game.Manager
{
public class SpriteLoaderMgr : MgrBase<SpriteLoaderMgr>
{
private const string WeaponSpritePath = "AutoSource/WeaponSprite/";
private const string BossSpritePath = "AutoSource/BossSprite/";
protected override void OnCreateMge ()
{
}
private Dictionary<string , Sprite> _weaponSpriteDic = new Dictionary<string , Sprite> ();
private Dictionary<string , Sprite> _weaponEffectSpriteDic = new Dictionary<string , Sprite> ();
private Dictionary<string , Sprite> _bossSpriteDic = new Dictionary<string , Sprite> ();
public void Clear ()
{
this._weaponSpriteDic.Clear ();
this._weaponEffectSpriteDic.Clear ();
this._bossSpriteDic.Clear ();
}
}
}