Fix head collision fader

This commit is contained in:
Pascal Serrarens 2022-03-28 14:26:45 +02:00
parent a7bdaa081f
commit 550cc04519
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ namespace Passer.Tracking {
_hmd.gameObject.AddComponent<AudioListener>();
}
//AddScreenFader(_hmd.unityCamera);
AddScreenFader(_hmd.unityCamera);
}
return _hmd;

View File

@ -265,8 +265,8 @@ namespace Passer.Humanoid {
public void Initialize(HumanoidControl _humanoid) {
humanoid = _humanoid;
//if (humanoid.headTarget.collisionFader)
// FindFadeMaterial();
if (humanoid.headTarget.collisionFader)
FindFadeMaterial();
}
private void FindFadeMaterial() {