Tool: Unity Engine Mailing List Signup Asset

One of the advantages of using a Game Engine like Unity is the ability it offers other creators to extend the platform by creating useful assets. These assets range from 2D and 3D arts, user interfaces to animations. To that end, Unity has an asset store where these assets can be gotten for free or paid for depending on how the developer choses to make them available.
Having experienced first-hand the essence of building an audience with my first set of apps (over 10 years ago), I’ve never failed to integrate an optional registration form into my story-based game apps. When I started developing apps back then, I used Adobe Flash and simply added a form that submitted the details to a dedicated email address. Over time, that email list grew to over 50K even before I knew what to do with them. Though, I’ve since moved on from the business and occasionally maintain a few of the apps, the lesson from that has never left me.
At some point during my game app development journey, I switched to using Unity and I have not looked back. In a bid to help more storytellers develop their children’s book into story-based game apps, I found the need to develop useful Unity assets that will serve their needs towards growing their audience and income. Hence, a storyteller shouldn’t be overly concerned about the logic or complexities of what goes beneath the hood of certain tools. That’s the inspiration for my current Unity asset – MailingListSignUp for Unity Game Engine.
Mailing List SignUp Unity Asset
The Mailing List Signup Asset is a prefab for adding subscribers to a MailerLite (other providers may be added on request) mailing list. It is an integration with MailerLite’s API which makes audience building easy for Unity game developers.
How to use it?
- In MailerLite
- Set up an account (it’s free)
- Create a new API Key
- In Unity
- Import the package
- Create a new scene
- Drag the SignUpFormCanvas prefab onto your scene from the Project menu. It is located in Assets/WafunkPublishing/MailingListSignUp/Prefabs
- Create an empty Game object – your controller – and attach the SignUpScript.cs file to it. It is located in Assets/WafunkPublishing/MailingListSignUp/Scripts
- Paste your MailerLite API Key into the ApiKeyInputField of the SignUpFormCanvas. Not to worry, it gets hidden when the app is run.
- Select your controller and drag the NameInputField, EmailInputField, ApiKeyInputField, TermsButton and AlertPanel from the SignUpFormCanvas into the appropriate holders in the Inspector View
- If you have a Menu Scene or any other scene you’d like to navigate to after a user successfully registers or skips registration, enter its name in the ‘Menu Scene’ field in the Inspector View
- Select the ‘SkipButton’ from the SignUpFormCanvas and set its click method to the ‘SignUpScript.SkipRegistration’ function
- Select the ‘SubmitButton’ from the SignUpFormCanvas and set its click method to the ‘SignUpScript.Register’ function
- Select the ‘TermsAndConditionsButton’ from the SignUpFormCanvas and set its click method to the ‘SignUpScript.TermsChecked’ function
- You may also want to edit the TermsAndConditionsText text in the Inspector
- Run the scene to test
Demo Scene
The Demo Scene shows the asset in use. Note that the MailerLite API Key is currently a dummy one so ensure you replace it with yours as described above.
Updates
If you have any technical expertise with Unity and C#, feel free to tinker with the source code. It’s publicly available on my GitHub page here https://github.com/babafunke/MailingListSignUp-for-Unity-Game-Engine
Though, the current version as of this writing (April 18, 2025) only supports MailerLite, I’d consider extending it to support other Email marketing providers on request. So, drop me a note if you’d like me to extend it for a provider of your choice as a Unity game engine user.