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