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 […]
20
2016
Sprite Shader with Clip() *Discard pixels
Testing what happens if add clip(discard), remove transparency and remove color tint from default Sprite Shader.. Just wanted to see if there is big difference or not, but seems like no huge difference on PC (asus laptop, gtx970m), unless you have thousands of sprites on […]
14
2016
Train Station Scene
Tried to re-create this Autodesk Stingray scene in unity using only primitives, substance materials and image effects: http://forum.unity3d.com/threads/can-unity-duplicate-the-look-of-stingrays-subway-example-including-the-real-time-reflections.425727/ Video clip:
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