master
parent
5f709ea385
commit
d3927e8d0e
|
@ -1,32 +1,32 @@
|
||||||
// using HarmonyLib;
|
// using HarmonyLib;
|
||||||
// using UnityEngine;
|
// using UnityEngine;
|
||||||
//
|
//
|
||||||
// using static dumb282tweaks.Main;
|
// using static dumb282tweaks.Main;
|
||||||
//
|
//
|
||||||
// namespace dumb282tweaks;
|
// namespace dumb282tweaks;
|
||||||
//
|
//
|
||||||
// [HarmonyPatch(typeof(TrainCar), "LoadInterior")]
|
// [HarmonyPatch(typeof(TrainCar), "LoadInterior")]
|
||||||
// class InteriorPatch {
|
// class InteriorPatch {
|
||||||
// static void Postfix(ref TrainCar __instance) {
|
// static void Postfix(ref TrainCar __instance) {
|
||||||
// Transform s282Interior = __instance.interior;
|
// Transform s282Interior = __instance.interior;
|
||||||
// Transform externalInteractables = s282Interior.transform.Find("LocoS282A_ExternalInteractables(Clone)");
|
// Transform externalInteractables = s282Interior.transform.Find("LocoS282A_ExternalInteractables(Clone)");
|
||||||
// // The fact that in game it actually is called "things" is funny to me
|
// // The fact that in game it actually is called "things" is funny to me
|
||||||
// Transform cab = s282Interior.transform.Find("LocoS282A_Interior(Clone)/Static/Cab");
|
// Transform cab = s282Interior.transform.Find("LocoS282A_Interior(Clone)/Static/Cab");
|
||||||
// Transform things = s282Interior.transform.Find("LocoS282A_Interior(Clone)/Static/Things");
|
// Transform things = s282Interior.transform.Find("LocoS282A_Interior(Clone)/Static/Things");
|
||||||
// Transform windowRMove = externalInteractables.transform.Find("Interactables/WindowR");
|
// Transform windowRMove = externalInteractables.transform.Find("Interactables/WindowR");
|
||||||
// Transform windowLMove = externalInteractables.transform.Find("Interactables/WindowL");
|
// Transform windowLMove = externalInteractables.transform.Find("Interactables/WindowL");
|
||||||
//
|
//
|
||||||
// Log(externalInteractables.name);
|
// Log(externalInteractables.name);
|
||||||
//
|
//
|
||||||
// switch(Main.Settings.cabType) {
|
// switch(Main.Settings.cabType) {
|
||||||
// case Settings.CabType.Default:
|
// case Settings.CabType.Default:
|
||||||
// break;
|
// break;
|
||||||
// case Settings.CabType.German:
|
// case Settings.CabType.German:
|
||||||
// cab.gameObject.SetActive(false);
|
// cab.gameObject.SetActive(false);
|
||||||
// things.gameObject.SetActive(false);
|
// things.gameObject.SetActive(false);
|
||||||
// windowRMove.gameObject.SetActive(false);
|
// windowRMove.gameObject.SetActive(false);
|
||||||
// windowLMove.gameObject.SetActive(false);
|
// windowLMove.gameObject.SetActive(false);
|
||||||
// break;
|
// break;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue