diff options
Diffstat (limited to 'modules/mono/glue/cs_files/Attributes/GodotMethodAttribute.cs')
-rw-r--r-- | modules/mono/glue/cs_files/Attributes/GodotMethodAttribute.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/mono/glue/cs_files/Attributes/GodotMethodAttribute.cs b/modules/mono/glue/cs_files/Attributes/GodotMethodAttribute.cs new file mode 100644 index 0000000000..55848769d5 --- /dev/null +++ b/modules/mono/glue/cs_files/Attributes/GodotMethodAttribute.cs @@ -0,0 +1,17 @@ +using System; + +namespace Godot +{ + [AttributeUsage(AttributeTargets.Method)] + internal class GodotMethodAttribute : Attribute + { + private string methodName; + + public string MethodName { get { return methodName; } } + + public GodotMethodAttribute(string methodName) + { + this.methodName = methodName; + } + } +} |