Question by
derteufelqwe · Jan 20, 2016 at 04:26 PM ·
guivariables
Access variables from another method
Hi, while programmie A little game. I have 4 Methode (btn1-4). These change the value of int Color to 1-4. Each one is triggered by one Button. Now I want to look what value Color has in a switch in a 5th method but the switch just knows the first state of 0 which I defined at the Start.
Comment
Your answer

Follow this Question
Related Questions
How to create an if statement for each element within a list C# 2 Answers
Unity 5.1 GUI mask disappears in Android build 0 Answers
Adjusting content display. 0 Answers
Unity Dropdown Menu Not Closing 1 Answer