Class AchievementDefinition
Represents an object containing additional information related to game achievement.
Inheritance
System.Object
AchievementDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VoxelBusters.EssentialKit
Assembly: cs.temp.dll.dll
Syntax
public class AchievementDefinition
Constructors
AchievementDefinition(String, String, NativePlatformConstantSet, String, Int32, AchievementDefinition.IosPlatformProperties, AchievementDefinition.AndroidPlatformProperties)
Declaration
public AchievementDefinition(string id = null, string platformId = null, NativePlatformConstantSet platformIdOverrides = null, string title = null, int numOfStepsToUnlock = 1, AchievementDefinition.IosPlatformProperties iosProperties = null, AchievementDefinition.AndroidPlatformProperties androidProperties = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
System.String | platformId | |
NativePlatformConstantSet | platformIdOverrides | |
System.String | title | |
System.Int32 | numOfStepsToUnlock | |
AchievementDefinition.IosPlatformProperties | iosProperties | |
AchievementDefinition.AndroidPlatformProperties | androidProperties |
Properties
AndroidProperties
Declaration
public AchievementDefinition.AndroidPlatformProperties AndroidProperties { get; }
Property Value
Type | Description |
---|---|
AchievementDefinition.AndroidPlatformProperties |
Id
The string that identifies the achievement within Unity environment. (read-only)
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
IosProperties
Declaration
public AchievementDefinition.IosPlatformProperties IosProperties { get; }
Property Value
Type | Description |
---|---|
AchievementDefinition.IosPlatformProperties |
NumOfStepsToUnlock
The number of steps required to unlock the achievement.
Declaration
public int NumOfStepsToUnlock { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Title
The name of the achievement. (read-only)
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetPlatformIdForActivePlatform()
Returns the achievement identifier for active platform.
Declaration
public string GetPlatformIdForActivePlatform()
Returns
Type | Description |
---|---|
System.String |