Home > Blog > Tutorial
Page 3 of 612345...6
 
Make Something Clickable in Unity 3D

Make Something Clickable in Unity 3D

Making a GameObject clickable in Unity 3D is a piece of cake! Just write an OnMouseDown function in a script, and stick it to your GameObject. Voila – instant interactivity! // Unity javascript function OnMouseDown() { // Do something } Keep Reading

 
 
Turn Something Invisible in Unity 3D

Turn Something Invisible in Unity 3D

thing.renderer.enabled = true; // or false … where “thing” is a reference to a GameObject. If you’re doing this in a script that’s attached to the GameObject you want to hide, try: gameObject.renderer.enabled = false; Note that the GameObject’s collider is still active, so the GameObject can still be clicked on, run into, etc. Here’s [...] Keep Reading

 
 
Flash to Unity 3D Glossary

Flash to Unity 3D Glossary

If you’re thinking of transitioning from Flash to Unity 3D, you’re in luck: the two programs are very similar, and it shouldn’t take you very long to feel right at home. The biggest difference that i can see between the two is that Unity is a proper game engine, while Flash is a program that [...] Keep Reading

 
 
How to Start a Game Project in Unity 3D

How to Start a Game Project in Unity 3D

By default, a new Unity install opens with a demo project. Unity 2.6 had an island, while Unity 3.0 has a G.I. Joe-style first-person shooter game. Follow these steps to start your own game project from scratch in Unity; 1. Start a New Project Click File > New Project … Every Unity sits in its [...] Keep Reading

 
 
Understanding Functions - Return Values

Understanding Functions – Return Values

There is a very short list of programming structures you have to learn to be reasonably comfortable in most modern object-oriented languages. Functions are one of them. In Understanding Functions, we learned that Functions are a way to bundle code statements together into a tight little unit that we can invoke (or “call”) any time [...] Keep Reading

 
Page 3 of 612345...6