CloudOnce - Unified Game Services API
CloudOnce is a Unity plug-in that provides a unified game services API for Google Play Game Services and Apple Game Center (iOS & tvOS). Ease of use is the primary focus for the plug-in, but it also attempts to satisfy the needs of power users.
If you need more technical or more complete documentation of the plug-in, you can check out the API documentation.
If you want to modify CloudOnce and build your own unitypackage, there are a few required steps.
For the PluginDev Unity project to compile you need to download and import Play Services Resolver for Unity.
Because CloudOnce includes Play Services Resolver for Unity, building a new unitypackage needs to be done from command-line or with a build script (more info). Below is an example of how to do it on Windows. Change the paths to fit your environment.
- Download the latest Play Services Resolver for Unity unitypackage
- Open cmd
"C:\Program Files\Unity531\Editor\Unity.exe" -batchmode -projectPath "C:\GitHub\CloudOnce\source\PluginDev" -exportPackage Assets/Extensions Assets/Plugins "C:\GitHub\CloudOnce\build\source.unitypackage" -quit
"C:\Program Files\Unity531\Editor\Unity.exe" -batchmode -gvh_disable -createProject ./CloudOnce -importPackage "C:\GitHub\CloudOnce\build\play-services-resolver-184.108.40.206.unitypackage" -quit
"C:\Program Files\Unity531\Editor\Unity.exe" -batchmode -gvh_disable -projectPath "C:\GitHub\CloudOnce\build\CloudOnce" -importPackage "C:\GitHub\CloudOnce\build\source.unitypackage" -exportPackage Assets "C:\GitHub\CloudOnce\current-build\CloudOnce-v2.4.4.unitypackage" -quit
- Party hard
This plug-in was originally developed for internal use by Trollpants Game Studio. Sindri Jóelsson wrote most of the original code, and Jan Ivar Z. Carlsen assisted by writing the implementations for Google Play and iOS.
In January 2015 work began to make it into a commercial product. From that point, Jan Ivar has been the sole developer on the project. The first commercial version was released on the Asset Store on May 6th 2015.
CloudOnce has evolved a lot since then, and on June 1st 2016 it was made open-source. This was done both due to time constraints (both creators have other full time jobs), and that the financial incentive wasn't large enough to justify the support responsibilities that comes from selling a commercial product.
Trollpants Game Studio games
All the games created by Trollpants Game Studio have been released as open source. They all use CloudOnce and have been updated to run in Unity 2017.3. Check them out for examples of how CloudOnce can be used.
The contents of this project is licensed under the MIT license, unless other is specified in file header. See LICENSE file in the project root for full license information.