Quick Start
Same code works for both Android and iOS platforms.
Login
public class Test : MonoBehaviour
{
void Start()
{
Gley.GameServices.API.LogIn();
}
}Submit Achievement
public class Test : MonoBehaviour
{
public void SubmitAchievement()
{
Gley.GameServices.API.SubmitAchievement(AchievementNames.LowJumper);
}
}AchievementNames is the enum generated from Settings Window.
Show achievements UI
This is generated by the store(Google Play/App Store) and it cannot be customized.
Submit score
Show leaderboards UI
This concludes the Quick Start. Check the Complete API for advanced functionalities.
Last updated