优化表现
This commit is contained in:
@@ -28,7 +28,7 @@ public class Socket : MonoBehaviour, ISocket
|
||||
IsAvailable = false;
|
||||
}
|
||||
plug=p;
|
||||
|
||||
plug.CableRef.End=plug.transform;
|
||||
// 可插入就可以触发对话
|
||||
_option?.SelectOption();
|
||||
}
|
||||
@@ -37,7 +37,9 @@ public class Socket : MonoBehaviour, ISocket
|
||||
{
|
||||
IsAvailable = true;
|
||||
MessageBox.Instance.HandleMessageBoxCommand("null","");
|
||||
plug.CableRef.End=plug.transform.GetChild(0).transform;
|
||||
plug=null;
|
||||
|
||||
}
|
||||
|
||||
public Vector2 GetPosition()
|
||||
|
||||
Reference in New Issue
Block a user