|
I'm looking for a way to not render an object in gameplay, but have it appear as a wireframe in the editor. Currently, I'm just removing the renderer and selecting the object through the hierarchy when I need to edit it, but I would much rather have some way to highlight it in the 3D viewport. So I suppose it doesn't need to be a wireframe view, but something? Perhaps a dot at the center of the object or something? The purpose is to make a node-based 3D adventure game. The nodes are big, invisible objects that move the camera to their position when clicked.
(comments are locked)
|
|
Put the nodes on their own layer, then have the camera not render that layer using the camera culling mask. Or you could use gizmos. Layers! Thank you, that works really well.
Dec 03 '10 at 05:21 AM
Zib Redlektab
How did you change the culling mask of the Scene view camera? I can't make it work. SceneView.lastActiveSceneView.camera.cullingMask = 0 has no effect.
Jun 14 '11 at 11:56 AM
hardwire
(comments are locked)
|
