添加音效,修改部分动画和UI
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user