You've already forked taptap2024_GJ_chidouren
30 lines
979 B
C#
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 ();
|
|
}
|
|
}
|
|
} |