Files
BABA_YAGA/Assets/Third Parties/Opsive/UltimateCharacterController/Scripts/Game/IKinematicObject.cs
2026-06-09 09:18:17 +07:00

36 lines
1023 B
C#

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