private void OnApplicationPause(bool pause) { if (pause) { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_BACKEND); } else { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_FRONTEND); } }
private void OnApplicationPause(bool pause) { if (pause) { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_BACKEND); } else { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_FRONTEND); } Singleton <BeaconHelper> .GetInstance().Event_ApplicationPause(pause); }
private void OnApplicationPause(bool pause) { Debug.Log(this.tag + " puase: " + pause); if (pause) { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_BACKEND); } else { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_FRONTEND); } }
private void OnApplicationPause(bool pause) { if (!this.bInit || !this.bEnableTSS) { return; } if (pause) { TssSdk.TssSdkSetGameStatus(2); } else { TssSdk.TssSdkSetGameStatus(1); } Singleton <BeaconHelper> .GetInstance().Event_ApplicationPause(pause); }
public void UpdateFinished() { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_UPDATE_FINISHED); }
public void EndPVP() { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_END_PVP); }
public void StartPVP() { TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_START_PVP); }