public void Init(ControllerInput playerInput) { var modMaterial = Instantiate(playerSpriteImage.material); modMaterial.SetColor(ShirtColorProperty, playerInput.GetColor().ToRGB()); playerSpriteImage.material = modMaterial; playerNameLabel.SetText(playerInput.PlayerName); }