Andy the android Andy the android - 1 year ago 129
Android Question

Unity2d empty object color

How to apply a solid color to an empty object in Unity 2D ?

This is the object's image having a Box Collider 2D

Answer Source

Empty game object doesn't have any component attached which apply or reflect color.

A simple way to do so,

  • Put an empty white sprite of size 10x10 maximum in your project.
  • Drop it into scene.
  • Add collider what you want.
  • Change color or Sprite Renderer. Whatever the color would be.
  • Resize it according to your need.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download