public void MatchWindowState(ParamCharaController controller)
 {
     ChaFileDefine.CoordinateType    coordinate = controller.GetNowCoordinate();
     ParamCharaController.ParamsKind kind       = controller.GetNowBustWear();
     coordinateSelect.Select(coordinate);
     kindSelect.Select(kind);
 }
Ejemplo n.º 2
0
    public void OnButtonSelected(SelectableButton selectable)
    {
        //if (selectable.InteractableWhenSelected)

        if (_selectedButton != null)
        {
            _selectedButton.Deselect();
            DeselectFunction(_selectedButton);
            _selectedButton = null;
        }

        ResetButtons();

        _selectedButton = selectable;
        selectable.ButtonImage.color = _selectedColor;
        selectable.ChangeInImageColor(_spriteSelectedColor);
        selectable.Select();
        SelectFunction(selectable);
    }