using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharSpriteManager : MonoBehaviour { [SerializeField] List charSprites = new List(); private void Start() { LoadIntoList(); } void LoadIntoList() { CharSprite[] loadedRes = Resources.FindObjectsOfTypeAll(); foreach (CharSprite sprite in loadedRes) { Debug.Log(sprite.name); charSprites.Add(sprite); } } }