SCKChui Learns to Make Games #25: Two Parameters One Button
Channel:
Subscribers:
3,520
Published on ● Video Link: https://www.youtube.com/watch?v=tttZk6jTOF8
One of the things we need to do is for certain buttons to change certain varibles, for example, if you finish talking to someone, they don't say the same thing again later. To do that, we need to specify the variable, and the value, but in Unity, functions tied to buttons can only take one parameter. That means we want code that takes one string and knows how to separate it into two parameters.
Other Videos By sckchui
Tags:
architecturexgaming
computer game
video game
gaming
gamemaking
game design
learning
newbie
Unity
12 Months