Search Unity

How to change button's hitbox

Discussion in 'Immediate Mode GUI (IMGUI)' started by Crew345, Jun 18, 2015.

  1. Crew345

    Crew345

    Joined:
    May 29, 2015
    Posts:
    6
    When I have changed Source Image of Button's Image component, Source Image has become smaller than button's hitbox. It doesnt stretch to all hitbox size and now I want to make Source Image the same size as hitbox or vice versa. How can I make it? Help, please!
     
  2. Delepiv

    Delepiv

    Joined:
    Aug 7, 2021
    Posts:
    1