Files
BABA_YAGA/Assets/Opsive/UltimateCharacterController/Scripts/StateSystem/IStateOwner.cs
2026-06-09 02:05:00 +07:00

24 lines
814 B
C#

/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.StateSystem
{
/// <summary>
/// Interface for any object which uses the StateSystem. Allows the StateManager to interact with a common object.
/// </summary>
public interface IStateOwner
{
/// <summary>
/// Callback when the StateManager will change the active state on the current object.
/// </summary>
void StateWillChange();
/// <summary>
/// Callback when the StateManager has changed the active state on the current object.
/// </summary>
void StateChange();
}
}