常用方法
常用方法
常用方法
常用方法
private void TargetSetVehicle(uint vehicleNetId) { ResetControls(); var vehicle = NetworkIdentity.spawned[vehicleNetId].gameObject; _vehicleCtrl = vehicle.GetComponent<Controllable>(); _vehicleCtrl.SetCamera(Camera.main); SetKinematic(vehicle, false); }