Dealing with methods of same name but different parameters #462
-
System.Void InitiatePurchase(System.String productId); // 0x01ae5404 System.Void InitiatePurchase(UnityEngine.Purchasing.Product product, System.String developerPayload); // 0x01ae55e0 System.Void InitiatePurchase(System.String purchasableId, System.String developerPayload); // 0x01ae5468 I want to implement anyone of them and then invoke them too. How can I do it? |
Beta Was this translation helpful? Give feedback.
Answered by
thinhbuzz
Dec 31, 2023
Replies: 1 comment 1 reply
-
Use overload, eg: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RevealedSoulEven
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use overload, eg:
method('InitiatePurchase').overload(System.String')