2024-10-14 11:13:08 +00:00
|
|
|
|
using System;
|
|
|
|
|
using BlueWater.Npcs.Crews;
|
|
|
|
|
using BlueWater.Uis;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace BlueWater.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface ICrewInteraction
|
|
|
|
|
{
|
|
|
|
|
Transform CenterTransform { get; }
|
|
|
|
|
InteractionCanvas InteractionCanvas { get; }
|
|
|
|
|
bool EnableInteraction { get; }
|
|
|
|
|
float InteractionRadius { get; }
|
|
|
|
|
|
|
|
|
|
void InteractionCrew(Crew crew);
|
|
|
|
|
void CancelInteractionCrew();
|
2024-10-27 09:44:22 +00:00
|
|
|
|
bool CanInteractionCrew(Crew crew = null);
|
2024-10-14 11:13:08 +00:00
|
|
|
|
|
|
|
|
|
event Action OnInteractionCompleted;
|
|
|
|
|
}
|
|
|
|
|
}
|