Methods.cs 445 B

1234567891011121314151617181920212223242526
  1. using Godot;
  2. public partial class Methods : GodotObject
  3. {
  4. private void MethodWithOverload()
  5. {
  6. }
  7. private void MethodWithOverload(int a)
  8. {
  9. }
  10. private void MethodWithOverload(int a, int b)
  11. {
  12. }
  13. // Should be ignored. The previous one is picked.
  14. private void MethodWithOverload(float a, float b)
  15. {
  16. }
  17. // Generic methods should be ignored.
  18. private void GenericMethod<T>(T t)
  19. {
  20. }
  21. }