Diamond Breaker Documentation

Summary

Diamond Breaker is a sample mobile game available on iOS and Android. This asset contains a stripped down source version of it.

The game idea is to collect energy, deliver it to a crystal and trying to overload it in the shortest time possible, measuring yourself with other players to get the highest score.

It features:

  • Player login / logout with Unity Player Accounts and anonymous accounts
  • Unity Ads integration
  • UI Toolkit integration
  • Several game mechanics
  • Visual Scripting with Game Creator 2 integration
  • Source code included (except third party assets - see below)

Diamond Breaker

Requirements

The following assets are required:

The following assets have also been used, but are optional. You can swap them with your own:

The following custom instruction from the Game Creator Hub was also used:

The following integration from the Game Creator Integrations page was also used:

  • Unity Ads (version 1.0.1)
Warning

Be aware of prefab errors and things not working if you decide to not use these assets and not replacing the references with your own.

Unity Version

This asset is supported starting Unity 6 LTS.

General release notes for Unity 6 LTS: https://docs.unity3d.com/6000.0/Documentation/Manual/WhatsNewUnity6.html

Packages

The following Unity packages are required:

Name Version Unity Documentation
com.unity.ads 4.4.2 https://docs.unity.com/ads/en-us/manual/UnityAdsHome
com.unity.ai.navigation 2.0.3 https://docs.unity3d.com/Packages/com.unity.ai.navigation@1.1/manual/
com.unity.animation.rigging 1.3.0 https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.2/manual/
com.unity.collections 2.4.3 https://docs.unity3d.com/Packages/com.unity.collections@1.2/manual/
com.unity.device-simulator.devices 1.0.0 https://docs.unity3d.com/Packages/com.unity.device-simulator.devices@1.0/manual/
com.unity.inputsystem 1.9.0 https://docs.unity3d.com/Packages/com.unity.inputsystem@1.7/manual/
com.unity.mobile.notifications 2.3.2 https://docs.unity3d.com/Packages/com.unity.mobile.notifications@2.3/manual/index.html|
com.unity.probuilder 6.0.2 https://docs.unity3d.com/Packages/com.unity.probuilder@5.2/manual/
com.unity.services.analytics 5.1.1 https://docs.unity.com/ugs/en-us/manual/analytics/manual/overview
com.unity.services.authentication 3.3.3 https://docs.unity.com/ugs/en-us/manual/authentication/manual/overview
com.unity.services.cloud-diagnostics 1.0.10 https://unitytech.github.io/clouddiagnostics/index.html
com.unity.services.core 1.13.0 https://docs.unity.com/ugs/en-us/manual/overview/manual/services-core-api
com.unity.services.cloudsave 3.2.0 https://docs.unity.com/ugs/en-us/manual/cloud-save/manual
com.unity.services.leaderboards 2.1.0 https://docs.unity.com/ugs/en-us/manual/leaderboards/manual/leaderboards
com.unity.services.push-notifications 4.0.0-pre.1 https://docs.unity.com/ugs/en-us/manual/push-notifications/manual/overview