添加音效,修改部分动画和UI

This commit is contained in:
2024-09-19 20:02:11 +08:00
parent b3d8477723
commit 7bf3413520
56 changed files with 538 additions and 66 deletions
+3
View File
@@ -27,6 +27,7 @@ public class Socket : MonoBehaviour, ISocket
{
IsAvailable = false;
}
AudioManager.RandomPlayInteraction("plug_in");
plug=p;
plug.CableRef.End=plug.transform;
// 可插入就可以触发对话
@@ -36,10 +37,12 @@ public class Socket : MonoBehaviour, ISocket
public void RemovePlug(Plug p)
{
IsAvailable = true;
AudioManager.RandomPlayInteraction("plug_out");
MessageBox.Instance.HandleMessageBoxCommand("null","");
plug.CableRef.End=plug.transform.GetChild(0).transform;
plug=null;
}
public Vector2 GetPosition()