From dc4cf87bc48d26211126fe664a9f64717ce66718 Mon Sep 17 00:00:00 2001 From: lishuo Date: Wed, 12 Jan 2022 18:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E4=BA=BA=E6=B5=B7=E6=8B=94?= =?UTF-8?q?=E5=9B=BE=E4=BD=8D=E7=BD=AE=E8=B6=85=E5=87=BA=E8=BE=B9=E7=95=8C?= =?UTF-8?q?=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Scenes/Ride/Scripts/OnlinePlayerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Scenes/Ride/Scripts/OnlinePlayerController.cs b/Assets/Scripts/Scenes/Ride/Scripts/OnlinePlayerController.cs index 49ff194a..68d424dd 100644 --- a/Assets/Scripts/Scenes/Ride/Scripts/OnlinePlayerController.cs +++ b/Assets/Scripts/Scenes/Ride/Scripts/OnlinePlayerController.cs @@ -282,7 +282,7 @@ namespace Assets.Scenes.Ride.Scripts //超出边界隐藏 var start = graph.HorizontalScrolling; var end = graph.HorizontalScrolling + graph.DataSource.HorizontalViewSize; - headPanel.SetActive( viewIndex >= start && viewIndex <= end); + headPanel.SetActive(nextIndex >= start && nextIndex <= end); //显示头像 if (head == null) {