public override string ToString()
{
string textureName = "<NO TEXTURE>";
if (!string.IsNullOrEmpty(Texture))
{
if (FileManager.IsRelative(Texture))
{
textureName = Texture;
}
else
{
textureName = FileManager.RemovePath(Texture) + " (" + Texture + ")";
}
}
return textureName;
}