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