Trash Dash is a sample project that demonstrates how to integrate Metaplay into an existing Unity game. Based on Unity's Trash Dash endless runner sample, this project showcases an incremental adoption approach that focuses on quick wins without requiring extensive refactoring, take a look at our documentation to see how we integrated Metaplay.
- Segmentation - Create and manage player segments that update dynamically during gameplay
- LiveOps Events - Configure and schedule dynamic in-game events from the LiveOps Dashboard
- Game Configs - Build and update game economy configurations without client releases
- A/B Testing - Run experiments with alternative config values for specific player segments
- Dashboard Customization - Rich player state visualization with custom LiveOps Dashboard components
- Clone the repository:
git clone git@github.com:metaplay-shared/trashdash-sample.git - Install the Metaplay CLI
- Initialize the MetaplaySDK:
metaplay init sdk --sdk-version=35 - Run the server:
metaplay dev server - The server will start and you can access the dashboard at localhost:5550
- Unity 2022.3.62f1 or later
- .NET 9 SDK
- Node.js v22 (for LiveOps Dashboard)
- PNPM:
npm install -g pnpm(for LiveOps Dashboard)