/// --------------------------------------------- /// Ultimate Character Controller /// Copyright (c) Opsive. All Rights Reserved. /// https://www.opsive.com /// --------------------------------------------- namespace Opsive.UltimateCharacterController.Game { using UnityEngine; /// /// Interface for any kinematic object that can be moved with no parameters. /// public interface IKinematicObject { /// /// Specifies the location that the object should be updated. /// KinematicObjectManager.UpdateLocation UpdateLocation { get; } /// /// A reference to the object's transform component. /// Transform transform { get; } /// /// Sets the index of the kinematic object. /// int KinematicObjectIndex { set; } /// /// Moves the object. /// void Move(); } }