This commit is contained in:
huyulong 2024-12-23 11:42:24 +08:00
parent 598d2ebc44
commit e7920a7662
3 changed files with 19 additions and 4820 deletions

File diff suppressed because it is too large Load Diff

View File

@ -129,5 +129,8 @@ public class PlayerMovement_Jpystick : MonoBehaviour, IDragHandler
mainCamera.fieldOfView = Mathf.Lerp(mainCamera.fieldOfView, targetFOV, fovChangeSpeed * Time.deltaTime);
}
public void SetPlayerMoveSpeed(float speed)
{
moveSpeed = speed;
}
}

View File

@ -64,7 +64,15 @@ public class LoginPanel : Base
// ´òÓ¡ access_token
Debug.Log(serverData.data.access_token);
// Ìøת³¡¾°
SceneManager.LoadScene(1);
//如果是管理员账号就跳预定演练
if(loginBody.userType == "company_user")
SceneManager.LoadScene(1);
//如果是玩家账号就跳转到加入房间界面
if (loginBody.userType == "Player")
SceneManager.LoadScene(2);
}
}