Class IconAttribute
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Specifies a custom icon for representing this class in the Godot Editor.
[AttributeUsage(AttributeTargets.Class)]
public sealed class IconAttribute : Attribute
- Inheritance
-
IconAttribute
- Inherited Members
Constructors
IconAttribute(string)
Specify the custom icon that represents the class.
public IconAttribute(string path)
Parameters
path
stringFile path to the custom icon.
Properties
Path
File path to a custom icon for representing this class in the Godot Editor.
public string Path { get; }