testss
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace UnityEditor.U2D.Sprites
|
||||
{
|
||||
internal interface IAssetDatabase
|
||||
{
|
||||
string GetAssetPath(Object o);
|
||||
AssetImporter GetAssetImporterFromPath(string path);
|
||||
}
|
||||
|
||||
internal class AssetDatabaseSystem : IAssetDatabase
|
||||
{
|
||||
public string GetAssetPath(Object o)
|
||||
{
|
||||
return AssetDatabase.GetAssetPath(o);
|
||||
}
|
||||
|
||||
public AssetImporter GetAssetImporterFromPath(string path)
|
||||
{
|
||||
return AssetImporter.GetAtPath(path);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user