so how would I go about doing this:
if (time.timesincelevelload == 300) {
gamcenterachievement = "you have been playing this game too much..."
}
just how would I make a simple banner pop up? I’ve added support in itunes connect already.
so how would I go about doing this:
if (time.timesincelevelload == 300) {
gamcenterachievement = "you have been playing this game too much..."
}
just how would I make a simple banner pop up? I’ve added support in itunes connect already.
thats great, thanks. But it doesn’t actually say how to create one. Just to load them.
Would this work?
IAchievement achievement = Social.CreateAchievement();
achievement.id = "Started Playing";
if (time.timesincelevelload == .1) {
achievement.progressCompleted = 100.0;
}
achievement.ReportProgress( result => {
if (result)
Debug.Log ("Successfully reported progress");
else
Debug.Log ("Failed to report progress");
});