Run버그 수정

This commit is contained in:
geondo55
2025-05-28 23:20:50 +09:00
parent 0aca7af93d
commit 2d32c93d82
3 changed files with 3 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ namespace Studio.UI
private void OnClickRun()
{
Debug.Log("On Click ToolBox Run");
ManagerHub.instance.Get<RunManager>().Run();
ManagerHub.instance.Get<RunManager>().ChangeState();
}
private void OnClickCopyObject()

View File

@@ -756,7 +756,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 820}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 380, y: 490}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4012943723070547587

View File

@@ -27,7 +27,7 @@ namespace Studio.Manage
{
}
void ChangeState()
public void ChangeState()
{
ManagerHub.instance.Get<RenderObjectHandler>().rtgController.ResetGizmo();
ManagerHub.instance.Get<CustomAssetConnector>().OnDeselectAll();
@@ -49,7 +49,6 @@ namespace Studio.Manage
public void Run()
{
ChangeState();
MQTTConeect();
onRun?.Invoke();
}