Files
BABA_YAGA/Assets/Opsive/UltimateCharacterController/Scripts/VR/IVRThrowableItem.cs
2026-06-14 23:57:44 +07:00

32 lines
907 B
C#

/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.VR
{
using UnityEngine;
/// <summary>
/// Allows the ThrowableItem to communicate with a VRThrowableItem.
/// </summary>
public interface IVRThrowableItem
{
/// <summary>
/// The character has equipped the item.
/// </summary>
void Equip();
/// <summary>
/// Returns the velocity that the item should be thrown at.
/// </summary>
/// <returns>The velocity that the item should be thrown at.</returns>
Vector3 GetVelocity();
/// <summary>
/// The character has unequipped the item.
/// </summary>
void Unequip();
}
}