For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mirror Pong

Explore how to host Unity projects on Edgegap using techniques from the Mirror Pong Sample.

✔️ Preparation

Before we start, you will need:

Create a new project and import the Mirror package above.

⚡ Deploy and Connect

1. Deploy a Server on Edgegap

☑️ To get started, you'll need to create a free account with Edgegap. No credit card required.

☑️ Create a new app version for your application, choose Mirror Pong Sample.

☑️ Deploy a server with your Mirror Pong Sample app version.

☑️ Open your new deployment's details.

☑️ Find your deployment's unique, one-time connection details:

  • Host URL in format 780aa4260e83.pr.edgegap.net ,

  • External Port in format 30854 (5 digits).

✅ You may now proceed to the next step.

2. Connect from Editor

☑️ Open your new project in Unity.

☑️ Open scene in folder Mirror / Examples / Pong / Scenes / MirrorPong.unity.

☑️ Press the ▶️ Play button to start your game client.

☑️ Input connection details from previous step.

☑️ Press Client button to connect to your server.

☑️ Connect a second virtual Player with Multiplayer Play Mode or ParrelSync.

🙌 Congratulations on your first Deployment on Edgegap!

✏️ Customize Server Build

Last updated

Was this helpful?