10
2023
Using OpenAI API with WebRequest from Unity
Simple example for calling openAI completions API, with simple webrequest (and JSON data). Repository:https://github.com/unitycoder/UnityOpenAIGPT3 Making of video:
20
2021
Using nasadem.xyz heightmap data
Quick test to read nasadem.xyz data and extruding mesh with it using shader. (and added local image caching, to reduce requests). Project:https://github.com/unitycoder/nasadem
19
2020
[Sources] Unfinished 2D Snooker test
Uploaded sources for this old unfinished 2D pool scene. Its using GL extension to draw “debug” lines (works in runtime also) , and 2D circlecast to find predicted collision lines. Sources:https://github.com/unitycoder/Snooker2D
26
2019
ffmpeg stream raw video into Unity Texture2D
Small proof-of-concept idea about streaming raw video from commandline ffmpeg into Unity, using UDP streaming. It works ok for small resolution and low fps rate, but breaks/goes out of sync if any udp data goes missing. Sources:https://github.com/unitycoder/ffmpegStreamToUnity Instructions:– Download ffmpeg https://ffmpeg.org/download.html– run from commandline: > […]
29
2017
Visual Studio Snippet Generator Online
Didn’t find any easy or working snippets generator for VS, so made one with javascript: New page: http://tools.unitycoder.com/VisualStudioSnippetsGenerator/ Collecting some useful snippets here *currently just 1 there : ) https://github.com/unitycoder/UnityVisualStudioSnippets Feel free to post ideas for most common snippets.. personally i’d like to add […]
23
2017
Drawing 2D lines and Adding Collider to it
Hi awesome reader! In our past tutorial “How to Draw Line” we discussed about drawing a line in the game by mouse interaction. But sometimes we need to draw a line that collides with our game objects in 2D mode. So we need to add […]
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 […]
13
2017
Browser plugin: Add Copy-button to unity scripting docs
Using GreaseMonkey (Firefox) the script below will add Copy-to-clipboard-button into scripts at unity documentation website. – Supports multiple scripts per page – New: Adds copy button to forum code snippets also *Best used with this unity editor plugin (so its 1 click to copy from […]
12
2017
Editor Plugin: Paste Script To File
Small editor script to easily paste full script into new file in project. (instead of having to manually create new script file, opening it, pasting contents to it, renaming file etc..) Usage – Download CopyPasteHelper.cs script from https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Editor/Tools/CopyPasteHelper.cs – Place it under Editor/ folder in […]
25
2017
Mesh Exploder (sources)
Uploaded sources for the old mesh exploder project https://unitycoder.com/blog/2013/08/02/poor-mans-mesh-exploder/ download project: https://github.com/unitycoder/SimpleMeshExploder
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- 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
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on