refactoring

This commit is contained in:
2026-02-25 16:30:12 +09:00
parent 34376d1257
commit 4a25b39d7b
74 changed files with 5023 additions and 2475 deletions

View File

@@ -2,7 +2,6 @@ using Simulator.Data;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UVC.UI.Window.PropertyWindow;
public class NodeProperty : MonoBehaviour
@@ -15,7 +14,7 @@ public class NodeProperty : MonoBehaviour
propertyWindow.PropertyValueChanged += OnPropertyValueChanged;
}
public void SetProertyWindow(ConveyorNode data)
public void SetPropertyWindow(ConveyorNode data)
{
if (PlayerPropertyDataBase.isPlaying)
{
@@ -278,4 +277,10 @@ public class NodeProperty : MonoBehaviour
}
}
#endregion
private void OnDestroy()
{
if (propertyWindow != null)
propertyWindow.PropertyValueChanged -= OnPropertyValueChanged;
}
}