Ejemplo n.º 1
0
	private void TargetSetVehicle(uint vehicleNetId) {
		ResetControls();
		var vehicle = NetworkIdentity.spawned[vehicleNetId].gameObject;
		_vehicleCtrl = vehicle.GetComponent<Controllable>();
		_vehicleCtrl.SetCamera(Camera.main);
		SetKinematic(vehicle, false);
	}