Skip to content

metaplay-shared/samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Metaplay Basic Samples

This repository contains basic sample projects for using the Metaplay SDK.

For a full list of all Metaplay samples and their descriptions, see the Sample Projects page in the documentation.

Running the Samples

Prerequisites

To run the samples, you'll need to get the Metaplay SDK first:

  1. Create an account in the Metaplay Developer Portal.

  2. Install the Metaplay CLI.

  3. Download the Metaplay SDK using the CLI:

    samples$ metaplay init sdk --sdk-version=37

Running a Sample

Follow these steps to run any of the samples in this repository.

  1. Start the sample project server:

    Samples/<Sample>$ metaplay dev server
  2. Check out the the sample project's LiveOps Dashboard:

  3. Run the project in Unity:

    • Open the sample project (Samples/<Sample>) in Unity.
    • Open Unity menu MetaplayEnvironment Configs, and set Active Environment to Localhost to ensure the client connects to the locally running server.
    • Press Play in Unity to run the client within the Unity Editor.

About

Metaplay SDK sample projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors