The Icon
property of the TypeDescription
class represents a string that specifies the icon associated with the type. This can be used to visually represent the type in a user interface or editor environment.
The Icon
property of the TypeDescription
class represents a string that specifies the icon associated with the type. This can be used to visually represent the type in a user interface or editor environment.
To access the Icon
property, you need an instance of the TypeDescription
class. You can then get or set the icon string as needed.
// Example of accessing the Icon property TypeDescription typeDescription = new TypeDescription(); // Get the current icon string currentIcon = typeDescription.Icon; // Set a new icon string newIcon = "icon-path.png"; typeDescription.Icon = newIcon;