Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Feedback Working with buttons, need help!

Discussion in 'Game Design' started by heff2013, Nov 7, 2019.

  1. heff2013


    Nov 1, 2019
    Hi, my friends and I (Highschoolers taking college courses in trade school) are building our first game in unity and we are going to a SkillsUSA competition for it. We have only been working with C# for one year and having some help would be amazing. We have buttons for a start, options, credits, and exit menu (title screen). Our game is a paper Mario themed game, so lot of the art is cardboard, sticker, and paper. The title screen is a animation of a doodled curtain, both sides swing their designated way (left and right) when the start button is clicked. Except, when you click anywhere on the title screen it starts. How do I fix this?
  2. Serinx


    Mar 31, 2014
    It depends on how your curtain swing animation is triggered. Is it a button click, a mouse down check in an update function? Which GameObject does the code live in?
    We might need to see some code and/or screenshots to help you with this one.