MoTaForPSVita/Assets/Scripts/Interfaces/IInteraction.cs

16 lines
343 B
C#
Raw Normal View History

2024-04-30 17:39:50 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 玩家与其它物体交互接口
2024-04-30 17:39:50 +08:00
/// </summary>
public interface IInteraction
{
/// <summary>
/// 交互方法
2024-04-30 17:39:50 +08:00
/// </summary>
/// <returns>交互返回值 一般用于是否可以继续移动</returns>
2024-04-30 17:39:50 +08:00
bool Interaction();
}