From cd8db19185b72170535ad070cd94b1de36cbe7b1 Mon Sep 17 00:00:00 2001 From: Tim Kuhlmann Date: Mon, 30 Sep 2024 08:54:25 +0200 Subject: [PATCH] rename EdgeDataFlowVisualizer -> EdgeDirectionVisualizer Use a functional description instead of a visual description as we only have one way to visualize edge direction right now. --- Assets/SEE/Game/Operator/EdgeOperator.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/SEE/Game/Operator/EdgeOperator.cs b/Assets/SEE/Game/Operator/EdgeOperator.cs index 682a7ffa36..381b004169 100644 --- a/Assets/SEE/Game/Operator/EdgeOperator.cs +++ b/Assets/SEE/Game/Operator/EdgeOperator.cs @@ -151,11 +151,11 @@ public void AnimateDataFlow(bool enable = true) { if (enable) { - gameObject.AddOrGetComponent(); + gameObject.AddOrGetComponent(); } else { - EdgeDataFlowVisualizer edfv = gameObject.GetComponent(); + EdgeDirectionVisualizer edfv = gameObject.GetComponent(); Destroyer.Destroy(edfv); } } @@ -275,7 +275,7 @@ protected override void OnDisable() /// /// Implements a data flow visualization to indicate the direction of an edge. /// - private class EdgeDataFlowVisualizer : MonoBehaviour + private class EdgeDirectionVisualizer : MonoBehaviour { /// /// Maximal count of particles.