Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Does Button Have To Be Rectangular ?

Discussion in 'UI Toolkit' started by tahsinXYZ, Jun 13, 2020.

  1. tahsinXYZ

    tahsinXYZ

    Joined:
    Aug 14, 2019
    Posts:
    70
    For Example, I have a button. Can I turn button's shape to something like Triangula or Hexagonal ?
     
  2. Daxten

    Daxten

    Joined:
    Sep 20, 2013
    Posts:
    30
    yes, by default they create quads for the mesh data, but that can be overwritten.
    In the talk which is linked somewhere in the sticky posts, he gives the shader ui as an example, where arrows etc. are also done with the toolkit and have overwritten mesh data
     
    tahsinXYZ likes this.
  3. stan-osipov

    stan-osipov

    Unity Technologies

    Joined:
    Feb 24, 2020
    Posts:
    31