Files
2025TapTapGameJam/Assets/Script/Gameplay/Interface/IConnectable.cs

15 lines
465 B
C#
Raw Normal View History

using UnityEngine;
using System.Collections.Generic;
using Script.Gameplay.Connect;
namespace Script.Gameplay.Interface
{
public interface IConnectable
{
public bool IsEnableConnect { get; set; }
Vector3 GetPosition(); // 获取连接点位置
GameObject GetGameObject(); // 获取连接点物体
string GetConnectableName(); // 获取连接点名称
public List<ConnectionLine> ConnectionLines { get; set; }
}
}