Fix head collision fader
This commit is contained in:
parent
a7bdaa081f
commit
550cc04519
@ -80,7 +80,7 @@ namespace Passer.Tracking {
|
|||||||
|
|
||||||
_hmd.gameObject.AddComponent<AudioListener>();
|
_hmd.gameObject.AddComponent<AudioListener>();
|
||||||
}
|
}
|
||||||
//AddScreenFader(_hmd.unityCamera);
|
AddScreenFader(_hmd.unityCamera);
|
||||||
}
|
}
|
||||||
|
|
||||||
return _hmd;
|
return _hmd;
|
||||||
|
@ -265,8 +265,8 @@ namespace Passer.Humanoid {
|
|||||||
|
|
||||||
public void Initialize(HumanoidControl _humanoid) {
|
public void Initialize(HumanoidControl _humanoid) {
|
||||||
humanoid = _humanoid;
|
humanoid = _humanoid;
|
||||||
//if (humanoid.headTarget.collisionFader)
|
if (humanoid.headTarget.collisionFader)
|
||||||
// FindFadeMaterial();
|
FindFadeMaterial();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void FindFadeMaterial() {
|
private void FindFadeMaterial() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user