Browsing articles in "Tutorials"
Apr
23
2015

WebGL Build – Custom Loading Effect

Webgl build progress meter seems stuck at the end sometimes, so it would be nice to have some “loading/uncompressing” effect there.. WebGL example: http://unitycoder.com/upload/demos/CustomWebGLLoader/ *its copy of my LudumDare32 entry – Caching seems to cause some problems though, effect starts too early or too late? […]

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

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

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.