Skip to main content
Solved

[Unity] Unity Documentation


Forum|alt.badge.img+4

Will the Unity SDK documentation be built out further? I feel it’s lacking information, especially on the 4.0 RC release. 

Best answer by Andy

@Sebastien Laurent sadly we don’t have reference docs in Unity like we do for other platforms, but here’s the source code which does have a reference for every method and parameter: 
https://github.com/RevenueCat/purchases-unity/tree/main/RevenueCat/Scripts

Here’s the main class that acts as a Facade to access the rest of the SDK: 

https://github.com/RevenueCat/purchases-unity/blob/main/RevenueCat/Scripts/Purchases.cs

 

Here’s a sample app that calls just about every method in the SDK: 

https://github.com/RevenueCat/purchases-unity/tree/main/Subtester

 

And here’s the code within the sample app for most of those calls: 

https://github.com/RevenueCat/purchases-unity/blob/main/Subtester/Assets/Scripts/PurchasesListener.cs

 

And in our main docs, you should find a Unity tab for anything you need

https://www.revenuecat.com/docs/getting-started

 

Better docs for Unity are in the backlog! Hope this helps in the meantime. 

 

 

View original
Did this post help you find an answer to your question?

3 replies

Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 236 replies
  • August 19, 2022

Hey @Paul Rivera thanks for the feedback! 

We have a backlog item in place to create an SDK reference page, kinda like what we have for other SDKs (iOS here: http://revenuecat.github.io/purchases-ios-docs/, React-Native here: https://revenuecat.github.io/react-native-purchases-docs/).

Is this what you had in mind? 

 

If you were thinking more about the docs at https://docs.revenuecat.com/docs, are there any specific sections where you think our Unity docs are lacking? 

I’d love to improve them. 

 

Did you run into any specific issues during the migration? 


Forum|alt.badge.img+3

Hey, any link to sdk unity documentation ? I need more info about classes & methods.


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 236 replies
  • Answer
  • May 24, 2023

@Sebastien Laurent sadly we don’t have reference docs in Unity like we do for other platforms, but here’s the source code which does have a reference for every method and parameter: 
https://github.com/RevenueCat/purchases-unity/tree/main/RevenueCat/Scripts

Here’s the main class that acts as a Facade to access the rest of the SDK: 

https://github.com/RevenueCat/purchases-unity/blob/main/RevenueCat/Scripts/Purchases.cs

 

Here’s a sample app that calls just about every method in the SDK: 

https://github.com/RevenueCat/purchases-unity/tree/main/Subtester

 

And here’s the code within the sample app for most of those calls: 

https://github.com/RevenueCat/purchases-unity/blob/main/Subtester/Assets/Scripts/PurchasesListener.cs

 

And in our main docs, you should find a Unity tab for anything you need

https://www.revenuecat.com/docs/getting-started

 

Better docs for Unity are in the backlog! Hope this helps in the meantime. 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings