Class GodotClassNameAttribute
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Attribute that specifies the engine class name when it's not the same as the generated C# class name. This allows introspection code to find the name associated with the class. If the attribute is not present, the C# class name can be used instead.
[AttributeUsage(AttributeTargets.Class)]
public class GodotClassNameAttribute : Attribute
- Inheritance
-
GodotClassNameAttribute
- Inherited Members
Constructors
GodotClassNameAttribute(string)
public GodotClassNameAttribute(string name)
Parameters
name
string
Properties
Name
Original engine class name.
public string Name { get; }