C# Class ThinksyPlugin, thinksy_unity_plugin

Inheritance: MonoBehaviour
Afficher le fichier Open project: senseix/thinksy_unity_plugin Class Usage Examples

Méthodes publiques

Свойство Type Description
emergencyWindow GameObject
gameAccessToken string
testingMode bool
useLeaderboard bool

Méthodes publiques

Méthode Description
AllAnswerPartsGiven ( ) : bool

Returns whether or not the number of answer parts given to the most recent problem is equal to the correct number of answer parts.

Awake ( ) : void
CountProblemsAnsweredCorrectlySoFar ( ) : uint

Counts the problems answered correctly so far.

GetMostRecentProblem ( ) : Problem,

Returns the most recent Problem returned by the NextProblem() function.

IsInTestingMode ( ) : bool
NewHeartbeatTiming ( uint newTiming ) : void
NextProblem ( ) : Problem,

Returns the next Problem for the Player as an instance of the Problem class. If there aren't enough Problems left in the queue, an asynchronous task will retrieve more from the Senseix server.

NextProblemFromInstance ( ) : void
OnApplicationFocus ( bool isFocused ) : void
Reinitialize ( ) : void

Resends all the server communication involved in initializing the game. Primarily a debugging tool.

SetAccessToken ( string newAccessToken ) : void
ShowEmergencyWindow ( string additionalMessage ) : void

Shows a window indicating that something horrible has happened. Use this if something horrible happens.

StaticReinitialize ( ) : void
Update ( ) : void
UpdateCurrentPlayerScore ( UInt32 score ) : void

Updates the high score of the player on the SenseiX server. This will then be reflected in the leaderboard in the SenseiX menus. If this is not a high score, it will not override previous, higher scores.

UsesLeaderboard ( ) : bool

Private Methods

Méthode Description
GetSingletonInstance ( ) : ThinksyPlugin,
ShowThisEmergencyWindow ( string additionalMessage ) : void

Method Details

AllAnswerPartsGiven() public static méthode

Returns whether or not the number of answer parts given to the most recent problem is equal to the correct number of answer parts.
public static AllAnswerPartsGiven ( ) : bool
Résultat bool

Awake() public méthode

public Awake ( ) : void
Résultat void

CountProblemsAnsweredCorrectlySoFar() public static méthode

Counts the problems answered correctly so far.
public static CountProblemsAnsweredCorrectlySoFar ( ) : uint
Résultat uint

GetMostRecentProblem() public static méthode

Returns the most recent Problem returned by the NextProblem() function.
public static GetMostRecentProblem ( ) : Problem,
Résultat Problem,

IsInTestingMode() public static méthode

public static IsInTestingMode ( ) : bool
Résultat bool

NewHeartbeatTiming() public static méthode

public static NewHeartbeatTiming ( uint newTiming ) : void
newTiming uint
Résultat void

NextProblem() public static méthode

Returns the next Problem for the Player as an instance of the Problem class. If there aren't enough Problems left in the queue, an asynchronous task will retrieve more from the Senseix server.
public static NextProblem ( ) : Problem,
Résultat Problem,

NextProblemFromInstance() public méthode

public NextProblemFromInstance ( ) : void
Résultat void

OnApplicationFocus() public méthode

public OnApplicationFocus ( bool isFocused ) : void
isFocused bool
Résultat void

Reinitialize() public méthode

Resends all the server communication involved in initializing the game. Primarily a debugging tool.
public Reinitialize ( ) : void
Résultat void

SetAccessToken() public static méthode

public static SetAccessToken ( string newAccessToken ) : void
newAccessToken string
Résultat void

ShowEmergencyWindow() public static méthode

Shows a window indicating that something horrible has happened. Use this if something horrible happens.
public static ShowEmergencyWindow ( string additionalMessage ) : void
additionalMessage string
Résultat void

StaticReinitialize() public static méthode

public static StaticReinitialize ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateCurrentPlayerScore() public static méthode

Updates the high score of the player on the SenseiX server. This will then be reflected in the leaderboard in the SenseiX menus. If this is not a high score, it will not override previous, higher scores.
public static UpdateCurrentPlayerScore ( UInt32 score ) : void
score System.UInt32
Résultat void

UsesLeaderboard() public static méthode

public static UsesLeaderboard ( ) : bool
Résultat bool

Property Details

emergencyWindow public_oe property

public GameObject emergencyWindow
Résultat GameObject

gameAccessToken public_oe property

public string gameAccessToken
Résultat string

testingMode public_oe property

public bool testingMode
Résultat bool

useLeaderboard public_oe property

public bool useLeaderboard
Résultat bool