Quantcast
Channel: Answers for "Set GUI Text active/inactive by clicking on a button?"
Browsing all 4 articles
Browse latest View live

Answer by Rytje

Your script doesn't know what helpText is. You probably need to use GameObject.Find() or something. You don't have to call the method you want to call with the button OnClick. You can call it anything...

View Article


Answer by KujaEx

Okay, I watched now this tutorial: https://unity3d.com/learn/tutorials/modules/beginner/ui/ui-button And made it that way with that script: using UnityEngine; using System.Collections; public class...

View Article


Answer by Rytje

Your script doesn't know what helpText is. You probably need to use GameObject.Find() or something. You don't have to call the method you want to call with the button OnClick. You can call it anything...

View Article

Answer by KujaEx

Okay, I watched now this tutorial: https://unity3d.com/learn/tutorials/modules/beginner/ui/ui-button And made it that way with that script: using UnityEngine; using System.Collections; public class...

View Article
Browsing all 4 articles
Browse latest View live