C# Class CubicPilot.GameLogic.GameManager

Datei anzeigen Open project: playgameservices/play-games-plugin-for-unity

Public Methods

Method Description
Authenticate ( ) : void
AutoSave ( ) : void
CaptureScreenshot ( ) : void
FinishLevelAndGoToNext ( int score, int stars ) : void
FlushAchievements ( ) : void
GoToLevel ( int level ) : void
HasNextLevel ( ) : bool
IncrementAchievement ( string achId, int steps ) : void
LoadFromCloud ( ) : void
PostToLeaderboard ( ) : void
QuitToMenu ( ) : void
RestartLevel ( ) : void
SaveProgress ( ) : void
SavedGameLoaded ( SavedGameRequestStatus status, byte data ) : void
SavedGameOpened ( SavedGameRequestStatus status, ISavedGameMetadata game ) : void
SavedGameSelected ( SelectUIStatus status, ISavedGameMetadata game ) : void
SavedGameWritten ( SavedGameRequestStatus status, ISavedGameMetadata game ) : void
ShowAchievementsUI ( ) : void
ShowLeaderboardUI ( ) : void
SignOut ( ) : void
UnlockAchievement ( string achId ) : void

Private Methods

Method Description
GameManager ( ) : System
GoToScene ( string scene ) : void
ProcessCloudData ( byte cloudData ) : void
ReportAllProgress ( ) : void
SaveToCloud ( string filename ) : void
UnlockProgressBasedAchievements ( ) : void

Method Details

Authenticate() public method

public Authenticate ( ) : void
return void

AutoSave() public method

public AutoSave ( ) : void
return void

CaptureScreenshot() public method

public CaptureScreenshot ( ) : void
return void

FinishLevelAndGoToNext() public method

public FinishLevelAndGoToNext ( int score, int stars ) : void
score int
stars int
return void

FlushAchievements() public method

public FlushAchievements ( ) : void
return void

GoToLevel() public method

public GoToLevel ( int level ) : void
level int
return void

HasNextLevel() public method

public HasNextLevel ( ) : bool
return bool

IncrementAchievement() public method

public IncrementAchievement ( string achId, int steps ) : void
achId string
steps int
return void

LoadFromCloud() public method

public LoadFromCloud ( ) : void
return void

PostToLeaderboard() public method

public PostToLeaderboard ( ) : void
return void

QuitToMenu() public method

public QuitToMenu ( ) : void
return void

RestartLevel() public method

public RestartLevel ( ) : void
return void

SaveProgress() public method

public SaveProgress ( ) : void
return void

SavedGameLoaded() public method

public SavedGameLoaded ( SavedGameRequestStatus status, byte data ) : void
status SavedGameRequestStatus
data byte
return void

SavedGameOpened() public method

public SavedGameOpened ( SavedGameRequestStatus status, ISavedGameMetadata game ) : void
status SavedGameRequestStatus
game ISavedGameMetadata
return void

SavedGameSelected() public method

public SavedGameSelected ( SelectUIStatus status, ISavedGameMetadata game ) : void
status SelectUIStatus
game ISavedGameMetadata
return void

SavedGameWritten() public method

public SavedGameWritten ( SavedGameRequestStatus status, ISavedGameMetadata game ) : void
status SavedGameRequestStatus
game ISavedGameMetadata
return void

ShowAchievementsUI() public method

public ShowAchievementsUI ( ) : void
return void

ShowLeaderboardUI() public method

public ShowLeaderboardUI ( ) : void
return void

SignOut() public method

public SignOut ( ) : void
return void

UnlockAchievement() public method

public UnlockAchievement ( string achId ) : void
achId string
return void