mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-01 22:09:23 +00:00
RCCVirtualSteeringWheel: Fixes for 2025r178
This commit is contained in:
parent
621321c498
commit
40bc88586e
4 changed files with 10 additions and 8 deletions
|
@ -24,6 +24,9 @@ internal static class RCCCarControllerV3_Patches
|
||||||
{
|
{
|
||||||
if (!result.IsValid)
|
if (!result.IsValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!__instance)
|
||||||
|
return;
|
||||||
|
|
||||||
SteeringWheelRoot.SetupSteeringWheel(__instance, result.LocalBounds);
|
SteeringWheelRoot.SetupSteeringWheel(__instance, result.LocalBounds);
|
||||||
});
|
});
|
||||||
|
|
|
@ -28,6 +28,6 @@ using NAK.RCCVirtualSteeringWheel.Properties;
|
||||||
namespace NAK.RCCVirtualSteeringWheel.Properties;
|
namespace NAK.RCCVirtualSteeringWheel.Properties;
|
||||||
internal static class AssemblyInfoParams
|
internal static class AssemblyInfoParams
|
||||||
{
|
{
|
||||||
public const string Version = "1.0.0";
|
public const string Version = "1.0.3";
|
||||||
public const string Author = "NotAKidoS";
|
public const string Author = "NotAKidoS";
|
||||||
}
|
}
|
|
@ -27,7 +27,6 @@ public class SteeringWheelRoot : MonoBehaviour
|
||||||
public static void SetupSteeringWheel(RCC_CarControllerV3 carController, Bounds steeringWheelBounds)
|
public static void SetupSteeringWheel(RCC_CarControllerV3 carController, Bounds steeringWheelBounds)
|
||||||
{
|
{
|
||||||
Transform steeringWheel = carController.SteeringWheel;
|
Transform steeringWheel = carController.SteeringWheel;
|
||||||
if (carController == null) return;
|
|
||||||
|
|
||||||
SteeringWheelRoot wheel = steeringWheel.gameObject.AddComponent<SteeringWheelRoot>();
|
SteeringWheelRoot wheel = steeringWheel.gameObject.AddComponent<SteeringWheelRoot>();
|
||||||
wheel._carController = carController;
|
wheel._carController = carController;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"_id": -1,
|
"_id": 248,
|
||||||
"name": "RCCVirtualSteeringWheel",
|
"name": "RCCVirtualSteeringWheel",
|
||||||
"modversion": "1.0.0",
|
"modversion": "1.0.3",
|
||||||
"gameversion": "2024r177",
|
"gameversion": "2025r178",
|
||||||
"loaderversion": "0.6.1",
|
"loaderversion": "0.6.1",
|
||||||
"modtype": "Mod",
|
"modtype": "Mod",
|
||||||
"author": "NotAKidoS",
|
"author": "NotAKidoS",
|
||||||
|
@ -14,10 +14,10 @@
|
||||||
"car"
|
"car"
|
||||||
],
|
],
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"BTKUILib"
|
"None"
|
||||||
],
|
],
|
||||||
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r44/RCCVirtualSteeringWheel.dll",
|
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r45/RCCVirtualSteeringWheel.dll",
|
||||||
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/RCCVirtualSteeringWheel/",
|
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/RCCVirtualSteeringWheel/",
|
||||||
"changelog": "- Initial release",
|
"changelog": "- Fixes for 2025r178",
|
||||||
"embedcolor": "#f61963"
|
"embedcolor": "#f61963"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue