完成动画切换

This commit is contained in:
xsl
2025-11-30 12:22:43 +08:00
parent 835f768a4a
commit 634d22f3be
4 changed files with 57 additions and 34 deletions
@@ -282,7 +282,7 @@ public class FaceActivity extends GameActivity implements FaceLandmarkerHelper.L
}
protected native void ChangeStateCpp(String json);
protected void ChangeState(String json){
protected void ChangeMotion(String json){
Log.i("FaceActivity", "ChangeState:" + json);
ChangeStateCpp(json);
}
@@ -291,6 +291,6 @@ public class FaceActivity extends GameActivity implements FaceLandmarkerHelper.L
@Override
public void onEmpty() {
// 当没有检测到人脸时的处理逻辑
Log.d(TAG, "No face detected in the current frame");
//Log.d(TAG, "No face detected in the current frame");
}
}