Example #1
0
 protected override void OnInitialize()
 {
     foreach (var m in rendere.materials.Where(x => x.name.Contains("Pants")))
     {
         m.color = PlayerId.ToColor();
     }
 }
Example #2
0
        public void Initialize(PlayerId id, ResultManager resultManager)
        {
            _myId = id;

            _playerName.text         = _myId.ToName();
            _richOutline.effectColor = _myId.ToColor();

            _resultManager = resultManager;
        }