# Unity - Unlock ingame stuff for patreons

**URL:** <https://www.patreondevelopers.com/t/unity-unlock-ingame-stuff-for-patreons/3252>\
**Category:** Friendly Help\
**Created:** [June 6, 2020, 3:32pm UTC](https://www.patreondevelopers.com/t/unity-unlock-ingame-stuff-for-patreons/3252 "2020-06-06T15:32:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coold0wn](https://avatars.discourse-cdn.com/v4/letter/c/db5fbb/32.png) [@Coold0wn](https://www.patreondevelopers.com/u/Coold0wn)\
**Post date:** [June 6, 2020, 3:32pm UTC](https://www.patreondevelopers.com/t/unity-unlock-ingame-stuff-for-patreons/3252/1 "2020-06-06T15:32:35Z")

</div>

Hello,

I have a patreon page and I am developing a game in Unity.  
I would like to give my patreons cool stuff for free ingame (depending on the tier of subscription if possible).

Unfortunately I have no idea on how to do or approach this.

Basically what I need is a function that returns a boolean if the user is a patreon to my page. (or an integer/string depending on what tier he supports with)

Can someone help me with this?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [June 8, 2020, 4:28pm UTC](https://www.patreondevelopers.com/t/unity-unlock-ingame-stuff-for-patreons/3252/2 "2020-06-08T16:28:42Z")

</div>

There are various other threads talking about various implementations which you can use in accomplishing this. An example:

> [@Concealing API key for offline apps?](https://www.patreondevelopers.com/t/concealing-api-key-for-offline-apps/3062):
>
> Hey! I’m Sam, I make projects like the [Desktop Goose](http://samperson.itch.io/desktop-goose). I’d love to integrate patreon into my projects by allowing users to connect their accounts using the OAuth API and providing specific features/experiences conditional on their support. Seems like a pretty awful idea to just plop the secret key and do the authentication client-side, given how easy it is to decompile. I also have zilch web experience. So total newbie question: Is there a good possible way to securely make a microservice to a…

Basically you either need to have constant online connectivity, or, have to regularly fetch and save patron info if your game is offline.

Handling credentials is also discussed in the above thread. There should even be a case about handling creators’ tokens en masse.
