引擎简单更新
This commit is contained in:
@@ -7,7 +7,7 @@ using UnityEngine.EventSystems;
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
[RequireComponent(typeof(EventTriggerEx))]
|
||||
public class Plug : MonoBehaviour
|
||||
public class Plug : MonoBehaviour, IInteraction
|
||||
{
|
||||
#region 插头当前信息
|
||||
|
||||
@@ -161,5 +161,14 @@ namespace AibisDream.FixSystem
|
||||
Gizmos.color = Color.yellow;
|
||||
Gizmos.DrawWireSphere(transform.position, 0.5f);
|
||||
}
|
||||
|
||||
public bool IsActive => true;
|
||||
|
||||
public bool IsAvailable => _cableSystem.BodyModuleSystem.isAvailable;
|
||||
|
||||
public GameObject GetGameObject()
|
||||
{
|
||||
return gameObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user