mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-24 21:13:01 +00:00
change ped's input upload rate to 60 (was 30)
This commit is contained in:
parent
13897954d5
commit
677105ce55
2 changed files with 2 additions and 2 deletions
|
@ -433,7 +433,7 @@ MonoBehaviour:
|
|||
shouldPlayAnims: 1
|
||||
m_cameraClampValue: {x: 60, y: 60}
|
||||
m_maxHealth: 100
|
||||
m_inputSendInterval: 0.033333335
|
||||
m_inputSendInterval: 0.016666668
|
||||
m_enterVehicleRadius: 2
|
||||
--- !u!114 &114173420020992462
|
||||
MonoBehaviour:
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace SanAndreasUnity.Behaviours
|
|||
{
|
||||
public CustomNetworkTransform NetTransform { get; private set; }
|
||||
|
||||
[Range(1f / 60f, 0.5f)] [SerializeField] float m_inputSendInterval = 1f / 30f;
|
||||
[Range(1f / 60f, 0.5f)] [SerializeField] float m_inputSendInterval = 1f / 60f;
|
||||
float m_timeSinceSentInput = 0f;
|
||||
|
||||
[SyncVar] GameObject m_net_playerOwnerGameObject;
|
||||
|
|
Loading…
Reference in a new issue