4
2016
Using Accord.NET with Unity
While looking for Harris Corner Detection examples, without using openCV, founded this framework: “The Accord.NET Framework is a machine learning framework combined with audio and image processing libraries completely written in C#” Website: http://accord-framework.net Github: https://github.com/accord-net/framework *Note: There is updated tutorial here with images: https://github.com/accord-net/framework/wiki/Unity […]
3
2016
Lots of Exciting New Unity Stuff Coming Up!
Lots of good stuff announced by Unity this week, here’s compilation of them: Demo Assets – Adam Demo assets released [link] New Preview Builds – Navigation Preview Build (Finally Runtime navmap baking!!!!!!!!!!!!111) [link] – Nvidia Build : VR SLI, Multi-res Shading, Lens Matched Shading, and […]
21
2016
How to enable unsafe keyword for Unity C#
Enabling “unsafe” for unity c# is quite simple: – Add these 2 files to your project folder (inside Assets/ folder root) – “smcs.rsp” and “gmcs.rsp” – both files contain only 1 line of text: -unsafe – Then restart Unity and VisualStudio/Monodev *Note: Unity 5.5 wants […]
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
7
2016
Adding Custom Script Templates
Adding custom script templates is quite simple: – Create your custom script – Replace all class name strings with #SCRIPTNAME# (this will get replaced by the new created script name) – Move the script file under your unity installation folder: \Unity\Editor\Data\Resources\ScriptTemplates\ – Rename “YourScript.cs” into […]
29
2016
Using XBox One Kinect with Unity
*main image: Kinect GreenScreen example scene Setting up Kinect with Windows 10 – connect to pc (using adapter) – Driver installs automatically and you are Done 🙂 – You can test it with these apps: 3d scan: https://www.microsoft.com/en-us/store/p/3d-scan/9nblggh68pmc 3d builder: https://www.microsoft.com/en-us/store/p/3d-builder/9wzdncrfj3t6 Using Kinect […]
28
2016
Add Custom Explorer Context Menu Item for Opening a Folder as Project with Unity
You can add custom context menu items into Windows Explorer (more info), so you can create custom menu item that opens the current folder as a project in Unity. (it will still warn you about project version if its different) Example RegEdit file: *Note! you […]
17
2016
Easy Threading with ThreadPool
Want to use simple threading? ThreadPool seems like an easy solution. Source: (c#) https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Threading/ThreadPoolTest.cs
16
2016
Grayscale Image Effect with Exclude Layers
Testing grayscale image effect with added ExcludeLayers option (*just took the script parts from CameraMotionBlur effect, since it supports excluding layers) Instructions: – Attach the script below to your camera *You need to import default effects package first (Assets/Import Package/Effects) – Select excludeLayers (by default […]
16
2016
Custom Sprite Bloom HDR Shader
Tried to do this shader mentioned in the forums (link), to have a Bloom image effect only on certain sprites. See main image^ 2 same sprites, different material, so only 1 gets bloomed (even though the Bloom is full screen image effect) Instructions: – Download […]
Recent posts
- 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
- 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)