Home > Blog
Page 1 of 3123
 
Dynamically Add a GameObject to the Scene in Unity 3D

Dynamically Add a GameObject to the Scene in Unity 3D

If you work a lot in Flash, you’re used to the process of adding a linkage name to a MovieClip in the library, and then using the new keyword and addChild method to dynamically pull the clip out of the library and display it on the stage. You can do something very similar in Unity [...] Keep Reading

 
 
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

 
Page 1 of 3123