I'm trying to do an achievements system as simplest as could be. I just need the easiest way to unlock a specific simple achievement.
I setup 15 achievements in the Oculus dashboard,I'm using the Oculus platform SDK and Unity 2017.3.1p4 and my code looks like that: -----------------
void Start () {
Oculus.Platform.Core.Initialize(); }
if (Input.GetKeyDown(KeyCode.F2))
{
Oculus.Platform.Achievements.Unlock("Collector");
}
-----------------
Something that simple.. I have an achievement called Collector on the dashboard obviusly. What Am I missing? What should I add to make it working? I'm finding the documentation really confusing and it mostly cover only Progressive achievements and not simple ones.
Alright sorry to multipost but at the end I figured this out. It works and achievements.unlock is just enough. I noticed they were resulting as unlocked in the notifications. Would be cool something to show in-game though.
However I'm not sure Oculus.Platform.Achievements.Unlock("Collector"); is enough to completely unlock the achievement or there's something else i should call to make sure the acheivement is unlocked and saved as such.
Alright sorry to multipost but at the end I figured this out. It works and achievements.unlock is just enough. I noticed they were resulting as unlocked in the notifications. Would be cool something to show in-game though.