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

25 lines
1.2 KiB
C#

/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.FirstPersonController.Items
{
using Opsive.UltimateCharacterController.Items.Actions.PerspectiveProperties;
using UnityEngine;
/// <summary>
/// Describes any first person perspective dependent properties for the ThrowableItem.
/// </summary>
public class FirstPersonThrowableItemProperties : FirstPersonWeaponProperties, IThrowableItemPerspectiveProperties
{
[Tooltip("The location to throw the object from.")]
[SerializeField] protected Transform m_ThrowLocation;
[Tooltip("The location of the trajectory curve.")]
[SerializeField] protected Transform m_TrajectoryLocation;
[Opsive.Shared.Utility.NonSerialized] public Transform ThrowLocation { get { return m_ThrowLocation; } set { m_ThrowLocation = value; } }
[Opsive.Shared.Utility.NonSerialized] public Transform TrajectoryLocation { get { return m_TrajectoryLocation; } set { m_TrajectoryLocation = value; } }
}
}