bug fix
This commit is contained in:
@@ -126,6 +126,7 @@ public class UmaViewerUI : MonoBehaviour
|
||||
public bool isCriware = false;
|
||||
public bool isHeadFix = false;
|
||||
public bool EnableEyeTracking = true;
|
||||
public bool EnableFaceOverride = true;
|
||||
|
||||
public FaceDrivenKeyTarget currentFaceDrivenKeyTarget;
|
||||
|
||||
@@ -999,6 +1000,14 @@ public class UmaViewerUI : MonoBehaviour
|
||||
Builder.CurrentUMAContainer.EnableEyeTracking = isOn;
|
||||
}
|
||||
}
|
||||
public void SetFaceOverrideEnable(bool isOn)
|
||||
{
|
||||
EnableFaceOverride = isOn;
|
||||
if (Builder.CurrentUMAContainer && Builder.CurrentUMAContainer.FaceOverrideData)
|
||||
{
|
||||
Builder.CurrentUMAContainer.FaceOverrideData.Enable = isOn;
|
||||
}
|
||||
}
|
||||
|
||||
public void AudioPause()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user