mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-04-16 05:42:52 +00:00
label for AirlockInterface
This commit is contained in:
parent
01f1425ac0
commit
ce8fd91aa4
@ -1,4 +1,5 @@
|
|||||||
using QSB.EchoesOfTheEye.AirlockSync.VariableSync;
|
using QSB.EchoesOfTheEye.AirlockSync.VariableSync;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
@ -9,4 +10,14 @@ internal class QSBAirlockInterface : QSBRotatingElements<AirlockInterface, Airlo
|
|||||||
protected override IEnumerable<SingleLightSensor> LightSensors => AttachedObject._lightSensors;
|
protected override IEnumerable<SingleLightSensor> LightSensors => AttachedObject._lightSensors;
|
||||||
|
|
||||||
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.AirlockPrefab;
|
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.AirlockPrefab;
|
||||||
|
|
||||||
|
public override string ReturnLabel()
|
||||||
|
{
|
||||||
|
var baseString = $"{this}{Environment.NewLine}CurrentRotation:{AttachedObject._currentRotation}";
|
||||||
|
foreach (var element in AttachedObject._rotatingElements)
|
||||||
|
{
|
||||||
|
baseString += $"{Environment.NewLine}localRotation:{element.localRotation}";
|
||||||
|
}
|
||||||
|
return baseString;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user