private void OnEnable() { _playerScoredEvent.Event += PlayerScored; _bgImage.color = _playerInfos.GetColor(_player); _slantImage.color = _playerInfos.GetColor(_player); _scoreText.color = _playerInfos.GetColor(_player); _nameText.text = _playerInfos.GetName(_player); LayoutForActive(); }
private void OnEnable() { _bgImage.color = _playerInfos.GetColor(_player); _slantImage.color = _playerInfos.GetColor(_player); _nameText.text = _playerInfos.GetName(_player); }