28
2017
Unity Launcher (handle different projects & unity versions easily)
It was almost midnight, I wanted to open certain project with a specific unity version, just to check something before going to sleep.. but clicked the wrong icon (not the first time, got plenty of them on the desktop), waited that long unity boot-up time […]
22
2017
Load AssetBundles with Caching
Small sample script to load assetbundles. Features: – It first loads bundle hash from the manifest file on server – Then uses that hash string as asset bundle loader parameter (to use cached version if available, see docs) – Instantiate gameobject after loading source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/AssetBundles/AssetBundleLoader.cs […]
16
2016
[Script] Display Version Number in UI Text
Small script for displaying current app version number from Player Settings in UI Text component. *seems to work in Android, not ios..? Source: (Attach to UI Text component) https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Helpers/Version/GetVersion.cs
Recent posts
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName