Version: 2017.3

IAchievement

interface in UnityEngine.SocialPlatforms

Cambiar al Manual

Descripción

Information for a user's achievement.

This defines the relation between a particular achievement (described by IAchievementDescription) and the local user, what progress they have, last date they reported progress and so on.

Use Social.CreateAchievement to create an instance of this object.

Variables

completedSet to true when percentCompleted is 100.0.
hiddenThis achievement is currently hidden from the user.
idThe unique identifier of this achievement.
lastReportedDateSet by server when percentCompleted is updated.
percentCompletedProgress for this achievement.

Funciones Públicas

ReportProgressSend notification about progress on this achievement.