From 4c15fcf771579b32821b2aa09d8822b215fb3a22 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Tue, 24 Mar 2020 15:25:54 -0500 Subject: [PATCH] fix naming conventions --- Assets/Mirror/Components/NetworkProximityChecker.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Mirror/Components/NetworkProximityChecker.cs b/Assets/Mirror/Components/NetworkProximityChecker.cs index 90fc29e24..ff844514f 100644 --- a/Assets/Mirror/Components/NetworkProximityChecker.cs +++ b/Assets/Mirror/Components/NetworkProximityChecker.cs @@ -109,11 +109,11 @@ public override bool OnRebuildObservers(HashSet observers, bo switch (checkMethod) { case CheckMethod.Physics3D: - Add3dHits(observers); + Add3DHits(observers); break; case CheckMethod.Physics2D: - Add2dHits(observers); + Add2DHits(observers); break; } @@ -122,7 +122,7 @@ public override bool OnRebuildObservers(HashSet observers, bo return true; } - private void Add3dHits(HashSet observers) + private void Add3DHits(HashSet observers) { // cast without allocating GC for maximum performance int hitCount = Physics.OverlapSphereNonAlloc(transform.position, visRange, hitsBuffer3D, castLayers); @@ -143,7 +143,7 @@ private void Add3dHits(HashSet observers) } - private void Add2dHits(HashSet observers) + private void Add2DHits(HashSet observers) { // cast without allocating GC for maximum performance int hitCount = Physics2D.OverlapCircleNonAlloc(transform.position, visRange, hitsBuffer2D, castLayers);