Ejemplo n.º 1
0
        static public T CreateAssetExtension <T>(this UnityEngine.Object item) where T : AssetExtension
        {
            T extension = AssetExtensionManager.GetInstance().CreateAssetExtension <T>(item);

            extension.SaveNewAsset(Project.GetAssetExtensionDirectory() + item.name + "_" + typeof(T).Name);
            return(extension);
        }
Ejemplo n.º 2
0
 static public T GetAssetExtension <T>(this UnityEngine.Object asset) where T : AssetExtension
 {
     return(AssetExtensionManager.GetInstance().GetAssetExtension <T>(asset));
 }
Ejemplo n.º 3
0
 static public IEnumerable <AssetExtension> GetAssetExtensions(this UnityEngine.Object asset)
 {
     return(AssetExtensionManager.GetInstance().GetAssetExtensions(asset));
 }