Skip to content

Instantly share code, notes, and snippets.

VIDEOS MIGHT OUTDATED BUT TEXT IS NOT

this guide is not meant to help with leaking or feeding your paywall or any stupid things you might do to ruin experience for other people

TL;DR

  • Don't load whole folder or every file you have, in most big games you will run out of memory instead build assets map and cab map (dependencies) so Studio itself loads what it needs to
  • set your game under options->specify game then click on misc and type any name in assetmap textbox, optionally check dont process full bundle as it can shorten the time it takes to generate assetmap then click Build Both
  • after it finish, restart Studio, Misc->AssetBrowser click on load assetmap when it loads search for asset you need by name or type

Downloading

~~- for original Get latest version from Github Actions not releases from here , if you dont have account you can use site like nightly.link to download it , [Latest build](https://nig

#if UNITY_EDITOR
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
/// <summary>
/// Little utility for opening a "Game" view in fullscreen. Will be opened on whatever Unity thinks is the "main"
/// monitor at the moment. The hotkey will toggle the window; however, if for some reason this breaks, fullscreen
#!/usr/bin/env bash
echo "
----------------------
NODE & NPM
----------------------
"
# add nodejs 10 ppa (personal package archive) from nodesource
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
@heaversm
heaversm / skyboxstereo.shader
Created September 5, 2018 16:24
Unity Skybox Stereo Shader
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
Shader "Skybox/CubemapStereo" {
Properties {
_Tint ("Tint Color", Color) = (.5, .5, .5, .5)
[Gamma] _Exposure ("Exposure", Range(0, 8)) = 1.0
_Rotation ("Rotation", Range(0, 360)) = 0
[NoScaleOffset] _TexLeft ("Cubemap (HDR)", Cube) = "grey" {}
[NoScaleOffset] _TexRight ("Cubemap (HDR)", Cube) = "grey" {}
}
@nemotoo
nemotoo / .gitattributes
Last active January 9, 2026 17:07
.gitattributes for Unity3D with git-lfs
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@darktable
darktable / MiniJSON.cs
Created November 30, 2011 23:08
Unity3D: MiniJSON Decodes and encodes simple JSON strings. Not intended for use with massive JSON strings, probably < 32k preferred. Handy for parsing JSON from inside Unity3d.
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining