O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - futurize the bullet

A dull, gray bullet just won't cut it in a sci-fi game. Let's make a neon-green Material and apply it to the bullet, because in the distant future, bullets are obviously neon-green. I have this crazy hunch.

  1. In the Project panel, create a new Material. Rename the new Material Bullet.
  2. Click to select the new Bullet Material.
  3. In the Inspector panel, click on the Material's color swatch and choose a neon space-bullet green. I chose these values:
    • R: 9
    • G: 255
    • B: 0
    Time for action - futurize the bullet
  4. In the Hierarchy panel, select the bullet Game Object.
  5. In the Inspector panel, find the Mesh Renderer component.
  6. Apply the Bullet Material to the bullet

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required