A game about forced loneliness, made by TACStudios
at master 23 lines 530 B view raw
1using UnityEngine; 2 3namespace UnityEditor.U2D.Sprites 4{ 5 internal interface IAssetDatabase 6 { 7 string GetAssetPath(Object o); 8 AssetImporter GetAssetImporterFromPath(string path); 9 } 10 11 internal class AssetDatabaseSystem : IAssetDatabase 12 { 13 public string GetAssetPath(Object o) 14 { 15 return AssetDatabase.GetAssetPath(o); 16 } 17 18 public AssetImporter GetAssetImporterFromPath(string path) 19 { 20 return AssetImporter.GetAtPath(path); 21 } 22 } 23}