From 1fffa5bb6dc4f00c80e05b984738f0e7cac70461 Mon Sep 17 00:00:00 2001 From: mischa Date: Mon, 14 Oct 2024 13:23:11 +0200 Subject: [PATCH] netgraph: NetworkGraph renamed to Bandwidth graph because it only shows bandwidth --- .../{NetworkUsageGraph.cs => NetworkBandwidthGraph.cs} | 2 +- ...etworkUsageGraph.cs.meta => NetworkBandwidthGraph.cs.meta} | 0 .../Prefabs/{NetworkGraph.prefab => BandwidthGraph.prefab} | 4 ++-- .../{NetworkGraph.prefab.meta => BandwidthGraph.prefab.meta} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename Assets/Mirror/Components/Profiling/{NetworkUsageGraph.cs => NetworkBandwidthGraph.cs} (97%) rename Assets/Mirror/Components/Profiling/{NetworkUsageGraph.cs.meta => NetworkBandwidthGraph.cs.meta} (100%) rename Assets/Mirror/Components/Profiling/Prefabs/{NetworkGraph.prefab => BandwidthGraph.prefab} (99%) rename Assets/Mirror/Components/Profiling/Prefabs/{NetworkGraph.prefab.meta => BandwidthGraph.prefab.meta} (100%) diff --git a/Assets/Mirror/Components/Profiling/NetworkUsageGraph.cs b/Assets/Mirror/Components/Profiling/NetworkBandwidthGraph.cs similarity index 97% rename from Assets/Mirror/Components/Profiling/NetworkUsageGraph.cs rename to Assets/Mirror/Components/Profiling/NetworkBandwidthGraph.cs index 0ac5a120c..ac2b1fd2a 100644 --- a/Assets/Mirror/Components/Profiling/NetworkUsageGraph.cs +++ b/Assets/Mirror/Components/Profiling/NetworkBandwidthGraph.cs @@ -2,7 +2,7 @@ using UnityEngine; namespace Mirror { - public class NetworkUsageGraph : BaseUIGraph + public class NetworkBandwidthGraph : BaseUIGraph { int dataIn; int dataOut; diff --git a/Assets/Mirror/Components/Profiling/NetworkUsageGraph.cs.meta b/Assets/Mirror/Components/Profiling/NetworkBandwidthGraph.cs.meta similarity index 100% rename from Assets/Mirror/Components/Profiling/NetworkUsageGraph.cs.meta rename to Assets/Mirror/Components/Profiling/NetworkBandwidthGraph.cs.meta diff --git a/Assets/Mirror/Components/Profiling/Prefabs/NetworkGraph.prefab b/Assets/Mirror/Components/Profiling/Prefabs/BandwidthGraph.prefab similarity index 99% rename from Assets/Mirror/Components/Profiling/Prefabs/NetworkGraph.prefab rename to Assets/Mirror/Components/Profiling/Prefabs/BandwidthGraph.prefab index 6f06922a4..5aff497f0 100644 --- a/Assets/Mirror/Components/Profiling/Prefabs/NetworkGraph.prefab +++ b/Assets/Mirror/Components/Profiling/Prefabs/BandwidthGraph.prefab @@ -515,7 +515,7 @@ GameObject: - component: {fileID: 2138752905301465689} - component: {fileID: 8024388048541391361} m_Layer: 5 - m_Name: NetworkGraph + m_Name: BandwidthGraph m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1091,7 +1091,7 @@ MonoBehaviour: m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: NET + m_Text: BANDWIDTH --- !u!1 &6326536691934325288 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Mirror/Components/Profiling/Prefabs/NetworkGraph.prefab.meta b/Assets/Mirror/Components/Profiling/Prefabs/BandwidthGraph.prefab.meta similarity index 100% rename from Assets/Mirror/Components/Profiling/Prefabs/NetworkGraph.prefab.meta rename to Assets/Mirror/Components/Profiling/Prefabs/BandwidthGraph.prefab.meta