private void ResetMessageBox() { Vector2 size = GetComponent <RectTransform>().sizeDelta; size.y = _initialHeight; GetComponent <RectTransform>().sizeDelta = size; _optionsHolder.ClearList(); }
private void ResetMessageBox() { // Vector2 size = GetComponent<RectTransform>().sizeDelta; // size.y = _initialHeight; // GetComponent<RectTransform>().sizeDelta = size; _optionsHolder.ClearList(); leftCharPortrait.gameObject.SetActive(false); rightCharPortrait.gameObject.SetActive(false); }