Fix: guard editor-only gaze evaluation call for player builds

ScheduleEditorFinalEvaluation is defined under UNITY_EDITOR but was
called unguarded in ProcessFrame, breaking player builds with CS0103.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
KINDNICK
2026-07-27 12:23:01 +09:00
co-authored by Claude Fable 5
parent b818e72c75
commit 26c578416f
3 changed files with 7 additions and 1 deletions
@@ -169,6 +169,7 @@ namespace Streamingle.Gaze
hasSubmittedState = true;
hasProcessedFrame = true;
#if UNITY_EDITOR
if (!Application.isPlaying)
{
// Evaluate after the whole Timeline graph has applied its animation
@@ -176,6 +177,7 @@ namespace Streamingle.Gaze
// and facial blendshape baseline from this frame.
ScheduleEditorFinalEvaluation(driver);
}
#endif
}
public override void OnGraphStop(Playable playable)