Example #1
0
 void CheckSend(string text)
 {
     if (text != "")
     {
         PuzzleSendManager.SetVisibilty(SendButtonState.Active);
     }
     else
     {
         PuzzleSendManager.SetVisibilty(SendButtonState.Disabled);
     }
 }
 private void OnEnable()
 {
     promptObject.text = prompt;
     PuzzleSendManager.SetVisibilty(SendButtonState.Active);
 }
 private void Awake()
 {
     instance = this;
 }