31 lines
558 B
C#
31 lines
558 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
|