Results 1 to 2 of 2

Thread: Don't want my button to obscure my nice graphic tile

  1. #1

    Don't want my button to obscure my nice graphic tile

    I have a custom tile with a nice graphic on it and have attached a button to it to call a function when clicked.

    The problem I have is that the button sits on top of the tile graphic and hides it.

    Is there a way to make the button "see through" so the player can see the graphic on the tile ? ( I have defined no text or font for the button parameters but the colour parameter defaults to "white" if not defined and hides the graphic on the tile below ).

    Or is there a different way to achieve what I want to do ( e.g. detect when the tile it clicked and call the function ? )
    Last edited by groovyclam; 11-23-2020 at 08:05 AM.

  2. #2
    Worked it out myself - set the Y value to just below the tile's top face ( e.g. layoutButtonParam.position = {0.00, -0.20, 0.00} )

Similar Threads

  1. Replies: 2
    Last Post: 09-01-2020, 12:14 AM
  2. Replies: 1
    Last Post: 10-13-2019, 11:18 AM
  3. Replies: 1
    Last Post: 11-30-2017, 10:11 PM
  4. Nice new AssetBundle scripting!
    By JTE_ in forum Scripting
    Replies: 5
    Last Post: 10-09-2016, 01:32 AM
  5. object/graphic question
    By kasagawa in forum General Discussion
    Replies: 1
    Last Post: 08-23-2015, 09:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •