Пример #1
0
    private void ResetMessageBox()
    {
        Vector2 size = GetComponent <RectTransform>().sizeDelta;

        size.y = _initialHeight;
        GetComponent <RectTransform>().sizeDelta = size;
        _optionsHolder.ClearList();
    }
Пример #2
0
    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);
    }