15
2015
Unity 5 build: DirectToDrift not starting Oculus
Struggled few hours trying to run oculus exe, Oculus wouldnt turn on (no blue light) when DirectToDrift exe was run. Using Unity5.0.1 (64bit), win7 and Oculus 0.5.0.1-beta unitypackage. Solutions: – Disable “[ ] Show Unity splash screen” from Player settings / Splash Image *If its […]
11
2015
PointEffector2D
Unity5 comes with new PointEffector2D How to use it? – Add sprite to scene – Add CircleCollider2D (or some other 2D collider) – Enable: [x] Trigger *Note: Effector works without trigger enabled also, but only when other object is touching the collider. – Enable [x] […]
9
2015
Error: Android SDK is outdated
Got this error message on building .apk: “Android SDK is outdated SDK Build Tools version 19.1 < 21” And in the console: “Error building Player: CommandInvokationFailure: Unable to update the SDK. Please run the SDK Manager manually to make sure you have the latest set […]
8
2015
Pixel grass with rounded edges effect
(click image to view) related forum topic for inspiration: http://forum.unity3d.com/threads/round-edges-of-pixel-art.308402/ steps: 🙂 – Use cutout shader (and have the texture filter mode as bilinear – its already that by default)
17
2015
Leap Motion PassThrough Threshold Shader
You can add adjustable threshold to Leap Motion passthrough shader, so that your hands are more visible (less transparent) in the overlay image. TUTORIAL – Download unity examples package, https://developer.leapmotion.com/downloads/unity – Import package to Unity – Open “PassthroughWithTracking.scene” – Select “Quad” from hierarchy – Enable […]
10
2015
Simple Event & Delegate Script
Just a quick test on events & delegates (taken from this live tutorial) – New scene – Add Sphere object to the scene (and move it into Main Camera view, for example 0,0,0) – Create new script: FireEvent.cs – Attach “FireEvent.cs” script into […]
27
2014
Legacy Character To Mecanim (+navPaths)
Legacy Character to Mecanim (+navpath) *This is just extra notes for the Mecanim Navpath Project, to add new characters easily (from old rigged characters) : http://unitycoder.com/blog/2014/12/23/mecanim-nav-mesh-pathfinding/ TUTORIAL – Download some rigged character from Asset Store – I’ve tested these ones to work fine so far, […]
16
2014
Overlay Diffuse Shader
<<< Left : Overlay shader | >>> Right : Default diffuse shader Problem: – Players gun clips through walls and […]
2
2014
One liners: Simple Pause
Simple pause script for quick testing: – When P key is pressed, Time.timeScale value is toggled between values 0 (pause) and 1 (default) How to use: – Create new script file (c#) – Name it as “PauseMode” – Copy & paste the contents below (or […]
12
2014
using Visual Studio Community 2013 (Free) with Unity
“Visual Studio Community 2013 A Full-Featured IDE – FREE” (link) Some notes what it took to make it work (was pretty easy) Installing Visual Studio Community 2013 (FREE!) – Download: http://www.visualstudio.com/en-us/products/visual-studio-community-vs – Install (you can leave out those extras) – Restart – Start visual studio […]
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)