/**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
using System;
namespace Live2D.Cubism.Editor.Deleters
{
///
/// Base class for Cubism asset deleters.
///
[Serializable]
public abstract class CubismDeleterBase : ICubismDeleter
{
///
/// Gets the path to the imported asset.
///
public string AssetPath { get; private set; }
///
/// Imports the corresponding asset.
///
public abstract void Delete();
#region ICubismDeleter
///
/// Sets the asset path.
///
void ICubismDeleter.SetAssetPath(string value)
{
AssetPath = value;
}
///
/// Imports the corresponding asset.
///
void ICubismDeleter.Delete()
{
Delete();
}
#endregion
}
}