디버깅용 로그 제거
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Northbound.Editor
|
||||
[MenuItem("Tools/Fog of War/Add Visibility to Scene Obstacles")]
|
||||
public static void AddVisibilityToSceneObstacles()
|
||||
{
|
||||
GameObject[] allObjects = GameObject.FindObjectsOfType<GameObject>();
|
||||
GameObject[] allObjects = GameObject.FindObjectsByType<GameObject>(FindObjectsSortMode.None);
|
||||
int count = 0;
|
||||
|
||||
foreach (GameObject obj in allObjects)
|
||||
@@ -153,7 +153,7 @@ namespace Northbound.Editor
|
||||
}
|
||||
|
||||
// Remove from scene objects
|
||||
FogOfWarVisibility[] sceneComponents = GameObject.FindObjectsOfType<FogOfWarVisibility>();
|
||||
FogOfWarVisibility[] sceneComponents = GameObject.FindObjectsByType<FogOfWarVisibility>(FindObjectsSortMode.None);
|
||||
int sceneCount = sceneComponents.Length;
|
||||
|
||||
foreach (var comp in sceneComponents)
|
||||
|
||||
Reference in New Issue
Block a user