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

27 lines
555 B
C#
Raw Normal View History

2019-04-29 23:41:18 +00:00
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;
2019-04-29 23:41:18 +00:00
void Awake()
{
Instance = this;
}
}
}