mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Revert "add index/count for W.O filter gui"
This reverts commit fcce492acb
.
This commit is contained in:
parent
a99b48f988
commit
d2a48a7782
@ -6,7 +6,6 @@ using QSB.ShipSync.TransformSync;
|
||||
using QSB.ShipSync.WorldObjects;
|
||||
using QSB.TimeSync;
|
||||
using QSB.WorldSync;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
@ -135,9 +134,7 @@ internal class DebugGUI : MonoBehaviour, IAddComponentOnStart
|
||||
WriteLine(1, $"TimeLoop IsTimeLoopEnabled : {TimeLoop.IsTimeLoopEnabled()}");
|
||||
}
|
||||
|
||||
var allWorldObjects = typeof(IWorldObject).GetDerivedTypes().ToArray();
|
||||
var selection = DebugActions.WorldObjectSelection;
|
||||
WriteLine(1, $"W.O Filter : {(selection == null ? "All" : $"{selection.Name} ({Array.IndexOf(allWorldObjects, selection) + 1}/{allWorldObjects.Length})")}");
|
||||
WriteLine(1, $"Selected WorldObject : {(DebugActions.WorldObjectSelection == null ? "All" : DebugActions.WorldObjectSelection.Name)}");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user