Browsing articles in "Tutorials"
Apr
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 […]

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

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

Mar
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)

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

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

Dec
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, […]

Dec
16
2014

Overlay Diffuse Shader

<<< Left : Overlay shader                                                            |                  >>> Right :  Default diffuse shader Problem: – Players  gun clips through walls and […]

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

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

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.