This commit is contained in:
2024-10-16 00:03:41 +08:00
commit 897058435c
5033 changed files with 1009728 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
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 ();
}
}
}