2
0

GodotMethodAttribute.cs 363 B

1234567891011121314151617
  1. using System;
  2. namespace Godot
  3. {
  4. [AttributeUsage(AttributeTargets.Method)]
  5. internal class GodotMethodAttribute : Attribute
  6. {
  7. private string methodName;
  8. public string MethodName { get { return methodName; } }
  9. public GodotMethodAttribute(string methodName)
  10. {
  11. this.methodName = methodName;
  12. }
  13. }
  14. }