mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 09:39:56 +00:00
Update DebugActions.cs
This commit is contained in:
parent
016c983065
commit
f0bad7f16a
@ -1,4 +1,5 @@
|
||||
using UnityEngine;
|
||||
using OWML.ModHelper.Events;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Utility
|
||||
{
|
||||
@ -18,6 +19,9 @@ namespace QSB.Utility
|
||||
var warpCore = GameObject.Find("Prefab_NOM_WarpCoreVessel").GetComponent<WarpCoreItem>();
|
||||
var socket = GameObject.Find("Interactibles_VesselBridge").GetComponentInChildren<WarpCoreSocket>();
|
||||
socket.PlaceIntoSocket(warpCore);
|
||||
var bridgeVolume = FindObjectOfType<VesselWarpController>().GetValue<OWTriggerVolume>("_bridgeVolume");
|
||||
bridgeVolume.AddObjectToVolume(Locator.GetPlayerDetector());
|
||||
bridgeVolume.AddObjectToVolume(Locator.GetPlayerCameraDetector());
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
Loading…
x
Reference in New Issue
Block a user