Skip to content

Commit ece2298

Browse files
author
Chris Langsenkamp
authored
Update NetworkedProximity.cs
Moved Depth2D class up into the namespace.
1 parent f7b16df commit ece2298

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

MLAPI/MonoBehaviours/Prototyping/NetworkedProximity.cs

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,21 @@ public override bool OnRebuildObservers(HashSet<uint> observers)
166166
return false;
167167
}
168168
}
169-
}
170169

171-
[System.Serializable]
172-
public class Depth2D
173-
{
174-
/// <summary>
175-
/// Only include objects with a Z coordinate (depth) greater than or equal to this value.
176-
/// </summary>
177-
[Tooltip("Only include objects with a Z coordinate (depth) greater than or equal to this value.")]
178-
public float minDepth = -Mathf.Infinity;
170+
[System.Serializable]
171+
public class Depth2D
172+
{
173+
/// <summary>
174+
/// Only include objects with a Z coordinate (depth) greater than or equal to this value.
175+
/// </summary>
176+
[Tooltip("Only include objects with a Z coordinate (depth) greater than or equal to this value.")]
177+
public float minDepth = -Mathf.Infinity;
179178

180-
/// <summary>
181-
/// Only include objects with a Z coordinate (depth) less than or equal to this value.
182-
/// </summary>
183-
[Tooltip("Only include objects with a Z coordinate (depth) less than or equal to this value.")]
184-
public float maxDepth = Mathf.Infinity;
179+
/// <summary>
180+
/// Only include objects with a Z coordinate (depth) less than or equal to this value.
181+
/// </summary>
182+
[Tooltip("Only include objects with a Z coordinate (depth) less than or equal to this value.")]
183+
public float maxDepth = Mathf.Infinity;
184+
}
185185
}
186+

0 commit comments

Comments
 (0)