void Start() { playerStats = new PlayerStats(); playerStats.playerName = playerName; healthBar = Instantiate(healthBarPrefab, HUD.instance.GetHealthBarParent()); healthBar.BindToTarget(transform); SetHealth(maxHealth); }