Browsing articles in "opensource"
Jan
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:

Feb
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

May
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

May
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: > […]

Oct
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 […]

Sep
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 […]

Aug
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 […]

Jul
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 […]

Jul
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 […]

Mar
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

Pages:12»

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.