mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Change default warp position/rotation
This commit is contained in:
parent
9558ee871f
commit
c9235c07c7
@ -131,9 +131,13 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
if (system.Config.warpExitPosition != null)
|
if (system.Config.warpExitPosition != null)
|
||||||
vesselWarpController._targetWarpPlatform.transform.localPosition = system.Config.warpExitPosition;
|
vesselWarpController._targetWarpPlatform.transform.localPosition = system.Config.warpExitPosition;
|
||||||
|
else
|
||||||
|
vesselWarpController._targetWarpPlatform.transform.localPosition = new Vector3(-95.6f, -41.7f, 36.9f);
|
||||||
|
|
||||||
if (system.Config.warpExitRotation != null)
|
if (system.Config.warpExitRotation != null)
|
||||||
vesselWarpController._targetWarpPlatform.transform.localEulerAngles = system.Config.warpExitRotation;
|
vesselWarpController._targetWarpPlatform.transform.localEulerAngles = system.Config.warpExitRotation;
|
||||||
|
else
|
||||||
|
vesselWarpController._targetWarpPlatform.transform.localEulerAngles = Vector3.zero;
|
||||||
|
|
||||||
vesselObject.GetComponent<MapMarker>()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL");
|
vesselObject.GetComponent<MapMarker>()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user