RizzeBattleRoyale/Assets/Photon/FusionAddons/KCC/Core/IKCCInteractionProvider.cs

20 lines
546 B
C#
Raw Normal View History

2025-09-24 11:24:38 +05:00
namespace Fusion.Addons.KCC
{
/// <summary>
/// Base interface for all KCC interaction providers.
/// </summary>
public interface IKCCInteractionProvider
{
/// <summary>
/// Used to control start of the interaction with KCC.
/// </summary>
bool CanStartInteraction(KCC kcc, KCCData data) => true;
/// <summary>
/// Used to control end of the interaction with KCC.
/// All interactions are force stopped on despawn regardless of the return value.
/// </summary>
bool CanStopInteraction(KCC kcc, KCCData data) => true;
}
}