add
This commit is contained in:
parent
598d2ebc44
commit
e7920a7662
File diff suppressed because it is too large
Load Diff
@ -129,5 +129,8 @@ public class PlayerMovement_Jpystick : MonoBehaviour, IDragHandler
|
|||||||
mainCamera.fieldOfView = Mathf.Lerp(mainCamera.fieldOfView, targetFOV, fovChangeSpeed * Time.deltaTime);
|
mainCamera.fieldOfView = Mathf.Lerp(mainCamera.fieldOfView, targetFOV, fovChangeSpeed * Time.deltaTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetPlayerMoveSpeed(float speed)
|
||||||
|
{
|
||||||
|
moveSpeed = speed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,15 @@ public class LoginPanel : Base
|
|||||||
// ´òÓ¡ access_token
|
// ´òÓ¡ access_token
|
||||||
Debug.Log(serverData.data.access_token);
|
Debug.Log(serverData.data.access_token);
|
||||||
// Ìø×ª³¡¾°
|
// Ìø×ª³¡¾°
|
||||||
|
//如果是管理员账号就跳预定演练
|
||||||
|
if(loginBody.userType == "company_user")
|
||||||
SceneManager.LoadScene(1);
|
SceneManager.LoadScene(1);
|
||||||
|
|
||||||
|
//如果是玩家账号就跳转到加入房间界面
|
||||||
|
if (loginBody.userType == "Player")
|
||||||
|
SceneManager.LoadScene(2);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user