void Awake() { inTempRage = false; healthBar.value = currentHealth; numberOfAttemptsCopy = numberOfAttempts; PPV.profile.TryGetSettings(out colorGradingLayer); PCv2 = GetComponent <PlayerControllerv2> (); }
private void Start() { player = GameObject.FindGameObjectWithTag("Player"); playerController = player.GetComponent <PlayerControllerv2>(); trailRenderer = player.GetComponent <TrailRenderer>(); }