增加设置视图可用的yarn命令

This commit is contained in:
2024-08-23 01:30:01 +08:00
parent c9c3cacae4
commit aeb013cd28
5 changed files with 60 additions and 40 deletions
+2 -2
View File
@@ -9,14 +9,14 @@ public class Socket : MonoBehaviour, ISocket
{
if (IsAvailable)
{
// Here you can add the functionality that will be executed when a plug is inserted
IsAvailable = false;
}
}
public void RemovePlug(Plug plug)
{
// Here you can add the functionality that will be executed when a plug is removed
IsAvailable = true;
}
public Vector2 GetPosition()