protected override void OnInitialize() { foreach (var m in rendere.materials.Where(x => x.name.Contains("Pants"))) { m.color = PlayerId.ToColor(); } }
public void Initialize(PlayerId id, ResultManager resultManager) { _myId = id; _playerName.text = _myId.ToName(); _richOutline.effectColor = _myId.ToColor(); _resultManager = resultManager; }