title: Change background of toggle button when it is pressed
body: <p>I see there is already some questions on this matter, but they are not using unity3d or are using the old UI method of unity.</p>
  
  <p>I have a toggle button with a specific background and I want that background to change when the toggle is off. I tried to do this using the inspector and setting a function to apply a different texture to the button when it was off, but did not work. </p>
  
  <p>Do you have any idea on how to accomplish this? I am attaching what I tried.
  <a href="https://i.stack.imgur.com/e3QMG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e3QMG.png" alt="enter image description here"></a></p>