/// --------------------------------------------- /// Ultimate Character Controller /// Copyright (c) Opsive. All Rights Reserved. /// https://www.opsive.com /// --------------------------------------------- namespace Opsive.UltimateCharacterController.Traits { using UnityEngine; /// /// Interface for an object that can be interacted with (such as a platform or door). /// public interface IInteractableTarget { /// /// Can the target be interacted with? /// /// The character that wants to interact with the object. /// True if the target can be interacted with. bool CanInteract(GameObject character); /// /// Interact with the target. /// /// The character that wants to interact with the object. void Interact(GameObject character); } }