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

21 lines
750 B
C#

/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.Objects
{
using UnityEngine;
/// <summary>
/// Specifies the number of forward faces the object has, used by the Detect Object Ability Base ability.
/// </summary>
public class ObjectForwardFaces : MonoBehaviour
{
[Tooltip("The number of forward facing sides the object has.")]
[SerializeField] protected int m_ForwardFaceCount = 1;
public int ForwardFaceCount { get { return m_ForwardFaceCount; } set { m_ForwardFaceCount = value; } }
}
}