mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-12-20 17:33:12 +00:00
26 lines
555 B
C#
26 lines
555 B
C#
using UnityEngine;
|
|
|
|
namespace SanAndreasUnity.Behaviours.Vehicles
|
|
{
|
|
public class VehicleManager : MonoBehaviour
|
|
{
|
|
public static VehicleManager Instance { get; private set; }
|
|
|
|
public GameObject vehiclePrefab;
|
|
|
|
public bool syncLinearVelocity = true;
|
|
public bool syncAngularVelocity = true;
|
|
|
|
public bool disableRigidBodyOnClients = true;
|
|
|
|
public bool syncPedTransformWhileInVehicle = false;
|
|
|
|
|
|
void Awake()
|
|
{
|
|
Instance = this;
|
|
}
|
|
|
|
}
|
|
|
|
}
|