14
2020
Marching Squares
Unity version of the basic Marching Squares tutorial from The Coding Train https://www.youtube.com/watch?v=0ZONMNUKTfU Project: *Note: Enable Gizmos to see debug lines in Game Windowhttps://github.com/unitycoder/MarchingSquares recording from live streamhttps://www.youtube.com/watch?v=vR2fc7U9hME
4
2020
LineRenderer with Outline Shader
Tried using sprite outline shader with LineRenderer, works surprisingly well References:Sprite shader source: https://forum.unity.com/threads/help-to-find-an-asset-solution.755273/#post-5246960 (2nd shader in that post)Forum topic: https://forum.unity.com/threads/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682/
14
2020
Registry fix for: Opening .UnityPackage in currently Active Unity (instead of opening new Unity instance)
I think after installing 5.6 32bit unity, it broke the Windows Explorer default application feature – Where clicking UnityPackage in Explorert would open in any currently active Unity instance.(instead it started opening new Unity instance every time).Found solution in forums (link) Here is Registry Fix […]
10
2020
UI Gradient Slider Bar (no scripts)
Simple UI slider setup for creating gradient slider bar (good for health / fuel bars etc). Uses UI Mask to hide gradient texture based on slider fill. Unity Project:https://github.com/unitycoder/UIGradientSliderBar
7
2020
Find out which script Disabled or Enabled this GameObject?
Small script to help tracking who disabled or enabled gameobject,https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Helpers/Debug/WhoDisabledOrEnabled.cs Usage:– Add script to the gameobject you need to track– press play– see console for the error messages, select the error message row, and see stack trace for the calling script names and lines.
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
3
2020
Velodyne Lidar Viewer for Unity
New plugin is now available in asset store, Velodyne Lidar Viewer.Supports Puck & UltraPuck models. Links AssetStore: https://assetstore.unity.com/packages/tools/integration/velodyne-lidar-viewer-158846?aid=1101lGtiIssues & Docs: https://github.com/unitycoder/VelodyneLidarViewer Initial Features – Supported lidar devices: UltraPuck (VLP32C), Puck (VLP16) – Large PCAP file streaming (stream from disk, required for +2gb pcap files, but […]
18
2020
Shader: Color Cycling
Color Cycling Shader test, because. Shader Source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Effects/ColorCycle.shader How it works?Gray color value is used to pick color from the gradient, if gray texture pixel is 0.5, then you get that turquoise color from gradient texture.
13
2020
Shader: Scrolling Texture With Fill Amount
Quick test shader for this thread https://forum.unity.com/threads/smooth-filling-of-the-2d-pipe-with-texture.845848/#post-5584480 Shader source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Patterns/ScrollingFill.shader Sample fbx file (used in screenshot)https://github.com/unitycoder/BlogUploads/blob/master/models/lineuv.FBX
12
2020
Particle System: Drawing Arrows Aligned to Moving Direction
Quick setup for this, Particle System:– Renderer/Mode: Stretched Particles– Camera Scale:0, Speed Scale: 0.1, Length Scale: 0 Arrow texture png
Recent posts
- 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
- Testing Unity MUSE AI
- QR Code Generator Online