The repository containing the GameDistribution SDK for Unity (WebGL) games. This allows you to display advertisements and other solutions available to games published within the GameDistribution network.
Switch branches/tags
Nothing to show
Clone or download

GitHub version license Unity HTML5 SDK plugin

This is the documentation of the " Unity HTML5 SDK plugin" project for adding the SDK within your Unity WebGL game. is the biggest broker of high quality, cross-platform games. We connect the best game developers to the biggest publishers.

Running into any issues? Check out the F.A.Q. within the Wiki of the github repository before mailing to

Implementation within games

  1. Import the .unitypackage into your game.
  2. Drag the prefab "GameDistribution" into your scene.
  3. Replace the GAME_KEY and USER_ID values with your own keys.
  4. Use GameDistribution.Instance.ShowAd() to show an advertisement.
  5. Make use of the events GameDistribution.OnResumeGame and GameDistribution.OnPauseGame for resuming/pausing your game in between ads.


public class ExampleClass: MonoBehaviour {
	void Awake()
	  GameDistribution.OnResumeGame += ResumeGame;
	  GameDistribution.OnPauseGame += PauseGame;
	void OnDestroy()
	  GameDistribution.OnResumeGame -= ResumeGame;
	  GameDistribution.OnPauseGame -= PauseGame;

	public void ResumeGame()

	public void PauseGame()

	public void ShowAd()