사내 리뷰

This commit is contained in:
geondo55
2025-05-28 11:00:04 +09:00
parent b106724f4a
commit 11834b2a2a
2 changed files with 6 additions and 0 deletions

View File

@@ -168,5 +168,10 @@ namespace Studio.Dynamic.TwinObject
{ {
AGVManager.instance.SetCopyObject(isAuto, renderObject); AGVManager.instance.SetCopyObject(isAuto, renderObject);
} }
private void OnDestroy()
{
StudioService.instance.RemoveTypeIdListener(renderObject.topic, renderObject.code);
}
} }
} }

View File

@@ -180,6 +180,7 @@ namespace Studio.Staic.STKC
private void OnDestroy() private void OnDestroy()
{ {
ManagerHub.instance.Get<RunManager>().onRun -= OnPlayStart;
if (curType == null) if (curType == null)
return; return;
StudioService.instance.RemoveTypeIdListener(curType, transform.name); StudioService.instance.RemoveTypeIdListener(curType, transform.name);