Skip to content

A Plugin for Unity which implements Google Play Billing Library v6.0.1 for in app products, made (mostly) by ChatGPT and GPT-4.

License

Notifications You must be signed in to change notification settings

Uralstech/Play-Billing-v6-For-Unity

Repository files navigation

Play Billing For Unity

This is an Andriod Native plugin written in Kotlin for the Unity game engine. The plugin lets you use Google Play Billing v6.0.1 in Unity.

This was made as an experiment to see if ChatGPT/GPT-4 is able to create full-fledged plugins/apps/etc. This is my first experiance with Kotlin programming and writing Android Native plugins for Unity. Most of the code in this project was generated by ChatGPT and GPT-4 with plugins.

I have, with the help of GPT-4, basically fully revamped the code to support most, if not all of the features of Google Play Billing Library v6.0.1. I have tested all functionality, but not in a production app.

The testing was done in Unity 2022.3.4f1.

Chat links

Here are the links to some of the chats I had with GPT-3.5 and GPT-4 about this experiment:
Prompt engineering w/ GPT-3.5
Prompt engineering w/ GPT-4 and later GPT-3.5 as I reached the query limit
Prompt engineering w/ GPT-4 and Plugins with the infinite repeat bug

License

The license and notice for this project can be found here: https://github.com/Uralstech/Play-Billing-v6-For-Unity/blob/main/LICENSE and here: https://github.com/Uralstech/Play-Billing-v6-For-Unity/blob/main/NOTICE respectively.

Contribution

Anyone is welcome to contribute to this project. Please check the CODE OF CONDUCT and CONTRIBUTING GUIDELINES.

About

A Plugin for Unity which implements Google Play Billing Library v6.0.1 for in app products, made (mostly) by ChatGPT and GPT-4.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project