Cheatsheets

Personal collection of cheatsheets.

Unity

Unity is a cross-platform game engine.

Index

General

Check project version.

Change a project name.

Use Visual Studio Code.

Debug Android application.

Use a custom Android manifest file.

Packages

A package is a container that holds any combination of Assets, Shaders, Textures, plug-ins, icons, and scripts that enhance various parts of the project.

Package manifests, package.json files, determine which version of the package to load, and what information to display in the Package Manager.

{
    "name": "com.adcimon.mypackage",
    "displayName": "My Package",
    "version": "0.0.1",
    "type": "library",
    "unity": "2019.3",
    "description": "My awesome package",
    "keywords":
    [
        "gui",
        "maths"
    ],
    "category": "Interface",
    "dependencies":
    {
        "com.unity.ugui": "1.0.0"
    }
}

Newtonsoft JSON

Add the package.

"dependencies":
{
    ...
    "com.unity.nuget.newtonsoft-json": "3.0.2"
}

Profiling

WebGL

References