SanAndreasUnity/Assets/Scripts/Behaviours/Vehicles/VehicleManager.cs

28 lines
621 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;
public bool syncVehicleTransformUsingSyncVars = false;
void Awake()
{
Instance = this;
}
}
}