Don't show arrows facing towards character if dontFollowCharacter is true
This commit is contained in:
parent
2d0f41242f
commit
a90a9adc28
|
@ -320,10 +320,17 @@ namespace R0bbie.VRSubtitles
|
|||
panelCanvasGroup.transform.localEulerAngles = childCanvasOffscreenDefaultRot;
|
||||
|
||||
// Show left/right arrows
|
||||
if (activeCharScreenPosition == CharScreenPosition.OffToLeft)
|
||||
UpdateArrow(ArrowDirection.Left);
|
||||
if (!dontFollowCharacter)
|
||||
{
|
||||
if (activeCharScreenPosition == CharScreenPosition.OffToLeft)
|
||||
UpdateArrow(ArrowDirection.Left);
|
||||
else
|
||||
UpdateArrow(ArrowDirection.Right);
|
||||
}
|
||||
else
|
||||
UpdateArrow(ArrowDirection.Right);
|
||||
{
|
||||
UpdateArrow(ArrowDirection.Off);
|
||||
}
|
||||
}
|
||||
else // otherwise we'll position the subtitle UI next to the character, locked in pos
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue