private void WaitingNo() { GameObject it = GameObject.Find("InfoText"); InfoText infot = it.GetComponent <InfoText>(); infot.NoWaiting(); }