You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
30
Assets/Scripts/Game/Manager/SpriteLoaderMgr.cs
Normal file
30
Assets/Scripts/Game/Manager/SpriteLoaderMgr.cs
Normal 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 ();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user