사내 리뷰 버전 #111

Merged
UVCXR merged 4 commits from pgd/20250528 into main 2025-05-28 13:35:44 +09:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit 11834b2a2a - Show all commits

View File

@@ -168,5 +168,10 @@ namespace Studio.Dynamic.TwinObject
{
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()
{
ManagerHub.instance.Get<RunManager>().onRun -= OnPlayStart;
if (curType == null)
return;
StudioService.instance.RemoveTypeIdListener(curType, transform.name);