사내 리뷰
This commit is contained in:
@@ -168,5 +168,10 @@ namespace Studio.Dynamic.TwinObject
|
||||
{
|
||||
AGVManager.instance.SetCopyObject(isAuto, renderObject);
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
StudioService.instance.RemoveTypeIdListener(renderObject.topic, renderObject.code);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user