사내 리뷰
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user