石头
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
public interface ISocket
|
||||
{
|
||||
public void PlugIn();
|
||||
public void PlugOut();
|
||||
public Vector3 GetSocketPos();
|
||||
}
|
||||
|
||||
public class BaseSocket : MonoBehaviour, ISocket
|
||||
{
|
||||
public void PlugIn()
|
||||
{
|
||||
Debug.Log("Plug Back InitSocket");
|
||||
}
|
||||
|
||||
public void PlugOut()
|
||||
{
|
||||
Debug.Log("Plug Out InitSocket");
|
||||
}
|
||||
|
||||
public Vector3 GetSocketPos()
|
||||
{
|
||||
return transform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user