mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 09:41:07 +00:00
remove debug boxes
This commit is contained in:
parent
45908e929c
commit
f01013d59a
@ -11,8 +11,6 @@ namespace QSB.ItemSync
|
||||
{
|
||||
public static ItemManager Instance { get; private set; }
|
||||
|
||||
private List<ScrollItem> _oldScrollList = new List<ScrollItem>();
|
||||
|
||||
public void Awake()
|
||||
{
|
||||
Instance = this;
|
||||
@ -24,23 +22,10 @@ namespace QSB.ItemSync
|
||||
public void RebuildItems(OWScene scene)
|
||||
{
|
||||
DebugLog.DebugWrite("Rebuilding OWItems...", MessageType.Warning);
|
||||
_oldScrollList = QSBWorldSync.Init<QSBScrollItem, ScrollItem>();
|
||||
QSBWorldSync.Init<QSBScrollItem, ScrollItem>();
|
||||
QSBWorldSync.Init<QSBScrollSocket, ScrollSocket>();
|
||||
}
|
||||
|
||||
public void OnRenderObject()
|
||||
{
|
||||
if (!QSBCore.HasWokenUp || !QSBCore.DebugMode || !QSBCore.ShowLinesInDebug)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var item in _oldScrollList)
|
||||
{
|
||||
Popcron.Gizmos.Cube(item.transform.position, item.transform.rotation, Vector3.one, Color.blue);
|
||||
}
|
||||
}
|
||||
|
||||
public static IQSBOWItem GetObject(OWItem unityObject)
|
||||
{
|
||||
if (unityObject == null)
|
||||
|
Loading…
Reference in New Issue
Block a user