mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-28 15:00:24 +00:00
remove some unused settings
This commit is contained in:
parent
677105ce55
commit
c205e03e44
2 changed files with 0 additions and 16 deletions
|
@ -16,8 +16,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
||||||
|
|
||||||
public CollisionDetectionMode rigidBodyCollisionDetectionMode = CollisionDetectionMode.Discrete;
|
public CollisionDetectionMode rigidBodyCollisionDetectionMode = CollisionDetectionMode.Discrete;
|
||||||
|
|
||||||
public bool syncLinearVelocity = true;
|
|
||||||
public bool syncAngularVelocity = true;
|
|
||||||
public bool destroyRigidBodyOnClients = true;
|
public bool destroyRigidBodyOnClients = true;
|
||||||
public bool syncPedTransformWhileInVehicle = false;
|
public bool syncPedTransformWhileInVehicle = false;
|
||||||
public bool controlInputOnLocalPlayer = true;
|
public bool controlInputOnLocalPlayer = true;
|
||||||
|
|
|
@ -39,18 +39,6 @@ namespace SanAndreasUnity.Settings
|
||||||
setValue = (value) => { ApplyVehicleSyncRate(value); },
|
setValue = (value) => { ApplyVehicleSyncRate(value); },
|
||||||
persistType = OptionsWindow.InputPersistType.OnStart
|
persistType = OptionsWindow.InputPersistType.OnStart
|
||||||
};
|
};
|
||||||
OptionsWindow.BoolInput m_syncVehiclesLinearVelocity = new OptionsWindow.BoolInput ("Sync vehicle's linear velocity") {
|
|
||||||
isAvailable = () => VehicleManager.Instance != null,
|
|
||||||
getValue = () => VehicleManager.Instance.syncLinearVelocity,
|
|
||||||
setValue = (value) => { VehicleManager.Instance.syncLinearVelocity = value; },
|
|
||||||
persistType = OptionsWindow.InputPersistType.OnStart
|
|
||||||
};
|
|
||||||
OptionsWindow.BoolInput m_syncVehiclesAngularVelocity = new OptionsWindow.BoolInput ("Sync vehicle's angular velocity") {
|
|
||||||
isAvailable = () => VehicleManager.Instance != null,
|
|
||||||
getValue = () => VehicleManager.Instance.syncAngularVelocity,
|
|
||||||
setValue = (value) => { VehicleManager.Instance.syncAngularVelocity = value; },
|
|
||||||
persistType = OptionsWindow.InputPersistType.OnStart
|
|
||||||
};
|
|
||||||
OptionsWindow.BoolInput m_controlWheelsOnLocalPlayer = new OptionsWindow.BoolInput ("Control wheels on local player") {
|
OptionsWindow.BoolInput m_controlWheelsOnLocalPlayer = new OptionsWindow.BoolInput ("Control wheels on local player") {
|
||||||
isAvailable = () => VehicleManager.Instance != null,
|
isAvailable = () => VehicleManager.Instance != null,
|
||||||
getValue = () => VehicleManager.Instance.controlWheelsOnLocalPlayer,
|
getValue = () => VehicleManager.Instance.controlWheelsOnLocalPlayer,
|
||||||
|
@ -105,8 +93,6 @@ namespace SanAndreasUnity.Settings
|
||||||
m_deadBodySyncRate,
|
m_deadBodySyncRate,
|
||||||
m_deadBodyInterpolationMode,
|
m_deadBodyInterpolationMode,
|
||||||
m_vehicleSyncRate,
|
m_vehicleSyncRate,
|
||||||
m_syncVehiclesLinearVelocity,
|
|
||||||
m_syncVehiclesAngularVelocity,
|
|
||||||
m_controlWheelsOnLocalPlayer,
|
m_controlWheelsOnLocalPlayer,
|
||||||
m_destroyWheelCollidersOnClient,
|
m_destroyWheelCollidersOnClient,
|
||||||
m_controlVehicleInputOnLocalPlayer,
|
m_controlVehicleInputOnLocalPlayer,
|
||||||
|
|
Loading…
Reference in a new issue