using System.Collections; using System.Collections.Generic; using UnityEngine; public class AssetManager { private static AssetManager instance; public Dictionary assetObject = new Dictionary(); private AssetManager() { } public static AssetManager getInstance() { if (instance == null) { instance = new AssetManager(); } return instance; } }