Hallucination system
This commit is contained in:
@@ -2,6 +2,7 @@ using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
using Unheimlich.Core;
|
||||
using Unheimlich.Features.Hallucination;
|
||||
|
||||
namespace Unheimlich.Features.Player
|
||||
{
|
||||
@@ -75,6 +76,11 @@ namespace Unheimlich.Features.Player
|
||||
public void EnableVignette(bool enable)
|
||||
{
|
||||
_isEnabled = enable;
|
||||
|
||||
// Suppress the hallucination vignette while diapason is active to avoid additive blending.
|
||||
// Restores hallucination vignette control when diapason listening ends.
|
||||
if (HallucinationManager.Instance != null)
|
||||
HallucinationManager.Instance.SetVignetteOverriddenExternally(enable);
|
||||
}
|
||||
|
||||
public void SetIntensity(float intensity)
|
||||
|
||||
Reference in New Issue
Block a user