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. Dismiss Notice

Creating an invisible button area

Discussion in 'Project Tiny' started by ankitsinghkushwah107, Jul 21, 2019.

  1. ankitsinghkushwah107

    ankitsinghkushwah107

    Joined:
    Jul 21, 2019
    Posts:
    7
    Hello, I have 3x3 non-visible grid and I want to check which tile in this grid user is interacting with. Is there a way I can create a invisible button for tiles?
     
  2. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,049
    Didn't image button with alpha 0 do the job?
     
    ankitsinghkushwah107 likes this.
  3. ankitsinghkushwah107

    ankitsinghkushwah107

    Joined:
    Jul 21, 2019
    Posts:
    7
    That will work. Thanks. :)
     
  4. warlocklama

    warlocklama

    Joined:
    Jun 7, 2017
    Posts:
    3
    strange for my case or am i doing something wrong...if i set my spriterenderer alpha completely to zero then it wont work, but if it is set to non zero then it works...