Quantcast
Viewing latest article 2
Browse Latest Browse All 8

How to make a box appear after pressing a button?

I'm working on an american football game and I'm trying to implement a fantasy draft like in the Madden games. The players are buttons and when I press them, I want the button to disappear and the player name to show up in a different location(kind of like an inventory system). I can make the button disappear but not reappear. Also, I have barely any experience coding. Here's what I have so far: private bool justinMiller_Drafted = true; if(justinMiller_Drafted){ if(GUI.Button (new Rect(50,80,100,30),Justin_Miller)){ justinMiller_Drafted = false; } }

Viewing latest article 2
Browse Latest Browse All 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>