Class Score
Assembly: UnityEngine.dll
public class Score : IScore
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public Score(string leaderboardID, long value)
Parameters
|
Improve this Doc
View Source
Declaration
public Score(string leaderboardID, long value, string userID, DateTime date, string formattedValue, int rank)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public DateTime date { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string formattedValue { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string leaderboardID { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
Property Value
|
Improve this Doc
View Source
Declaration
public string userID { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public long value { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void ReportScore(Action<bool> callback)
Parameters
|
Improve this Doc
View Source
Declaration
public void SetDate(DateTime date)
Parameters
|
Improve this Doc
View Source
Declaration
public void SetFormattedValue(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
|
Improve this Doc
View Source
Declaration
public void SetRank(int rank)
Parameters
Type |
Name |
Description |
Int32 |
rank |
|
|
Improve this Doc
View Source
Declaration
public void SetUserID(string userID)
Parameters
Type |
Name |
Description |
String |
userID |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods