Hello,
In the past small projects I have created to learn Unity, I have used GUIstyle for buttons, importing sprites manually to the GUIstyle through the inspector with the script below. I would love to do this in a better way for example being able to use my sprite sheets, instead of having to import sprites 1 by 1 image/sprite into unity and then add them in the inspector.
buttons - GUI - C#
In the past small projects I have created to learn Unity, I have used GUIstyle for buttons, importing sprites manually to the GUIstyle through the inspector with the script below. I would love to do this in a better way for example being able to use my sprite sheets, instead of having to import sprites 1 by 1 image/sprite into unity and then add them in the inspector.
Code (CSharp):