Created
May 24, 2022 17:56
-
-
Save beamable-gists/c541eee7c86ef971f6ebdda30ff86589 to your computer and use it in GitHub Desktop.
Example of basic API initialization with Beamable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Beamable; | |
public class SilentLogin | |
{ | |
private BeamContext _beamContext; | |
private async void Start() | |
{ | |
_beamContext = BeamContext.Default; | |
await _beamContext.OnReady; | |
Debug.Log($"beamContext.PlayerId = {_beamContext.PlayerId}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment