Many changes to Invector inventory system, added WIP UI system, added implementation for max stamina, moving speed, attack speed, attack power, thorns
This commit is contained in:
@@ -135,7 +135,7 @@ namespace Beyond
|
||||
maturity = Player.Instance.GetAttribute("Maturity");
|
||||
brightness.OnValueChanged.AddListener(PlayBrightnessEffectOnValueChanged);
|
||||
Player.Instance.onStatsUpdated += SetSlidersScales;
|
||||
Player.Instance.UodatePlayerStatistics();
|
||||
Player.Instance.UpdatePlayerStatistics();
|
||||
// Player.Instance.brig
|
||||
}
|
||||
|
||||
@@ -348,11 +348,12 @@ namespace Beyond
|
||||
yield return StartCoroutine(FlashBrightnesOnce(finalColorGained, brighntessAnimTime));
|
||||
}
|
||||
|
||||
public void SetSlidersScales(float value)
|
||||
public void SetSlidersScales(float healthScale, float faithScale, float staminaScale)
|
||||
{
|
||||
staminaSlider.SetScale(value);
|
||||
healthSlider.SetScale(value);
|
||||
faithSlider.SetScale(value);
|
||||
// Apply specific scales to specific sliders
|
||||
staminaSlider.SetScale(staminaScale);
|
||||
healthSlider.SetScale(healthScale);
|
||||
faithSlider.SetScale(faithScale);
|
||||
}
|
||||
|
||||
private void SetTextureOffset(Material material, float value)
|
||||
|
||||
Reference in New Issue
Block a user