public void Hide() { fader.FadeOut(); ipInput.SetIP(""); // Reset all twigglybuttons to norm var allTwigglyButtons = Resources.FindObjectsOfTypeAll <TwigglyButton>().ToList(); foreach (var tb in allTwigglyButtons) { tb.SetNorm(); } }
private void Awake() => button.onClick.AddListener(() => ipText.SetIP(GUIUtility.systemCopyBuffer));