Removed bloom modification
This commit is contained in:
@@ -20,8 +20,6 @@ public class PlayerController : OrbitalPositionBehaviour
|
||||
private bool m_HasFreeHitActive;
|
||||
private bool m_HasInvicibility;
|
||||
|
||||
private Bloom m_BloomController;
|
||||
|
||||
[Header("References")]
|
||||
[SerializeField] private MeshRenderer m_Renderer;
|
||||
[SerializeField] private Text m_ScoreText;
|
||||
@@ -31,8 +29,6 @@ public class PlayerController : OrbitalPositionBehaviour
|
||||
|
||||
protected override void OnStart()
|
||||
{
|
||||
m_BloomController = m_PostProcessVolume.profile.GetSetting<Bloom>();
|
||||
|
||||
s_Instance = this;
|
||||
s_HighScore = Mathf.Max(s_HighScore, PlayerPrefs.GetInt("HighScore", 0));
|
||||
Debug.Log($"Loaded high score of [{s_HighScore}]");
|
||||
@@ -45,11 +41,6 @@ public class PlayerController : OrbitalPositionBehaviour
|
||||
|
||||
public void Update()
|
||||
{
|
||||
if (!m_KillingItself)
|
||||
{
|
||||
m_BloomController.diffusion.value = 3f;
|
||||
}
|
||||
|
||||
m_ScoreText.text = s_PlayerScore.ToString();
|
||||
if (s_PlayerScore > s_HighScore)
|
||||
m_ScoreText.color = Color.yellow;
|
||||
@@ -127,8 +118,6 @@ public class PlayerController : OrbitalPositionBehaviour
|
||||
m_SuicidePoint = transform.position;
|
||||
m_KillingItself = true;
|
||||
m_DeathLerp = 0f;
|
||||
|
||||
//m_BloomController.diffusion.value = 10f;
|
||||
}
|
||||
|
||||
else if (other.CompareTag("PlayerMod"))
|
||||
|
||||
Reference in New Issue
Block a user