Files
BABA_YAGA/Assets/Third Parties/Opsive/UltimateCharacterController/Demo/Scripts/References/ObjectReferences.cs
Scove 3e39117acc Consolidate third-party plugins into Assets/Plugins
Move and consolidate many third-party plugin files and metadata from various locations (notably Assets/Third Parties/Plugins 1 and scattered Opsive/Photon folders) into a unified Assets/Plugins directory. Includes DOTween, PrimeTween, Native/BackroomsNoise, Sirenix/Odin Inspector, and Opsive UltimateCharacterController/shared libs, plus updates to several .meta files and removal of obsolete installer/legacy files. This standardizes plugin layout and cleans up duplicate/obsolete assets.
2026-06-16 18:41:44 +07:00

45 lines
2.7 KiB
C#

/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.Demo.References
{
using UnityEngine;
/// <summary>
/// Helper class which references the objects.
/// </summary>
public class ObjectReferences : MonoBehaviour
{
[Tooltip("A reference to the first person objects.")]
[SerializeField] protected Object[] m_FirstPersonObjects;
[Tooltip("A reference to the third person objects.")]
[SerializeField] protected Object[] m_ThirdPersonObjects;
[Tooltip("A reference to the shooter objects.")]
[SerializeField] protected Object[] m_ShooterObjects;
[Tooltip("A reference to the melee objects.")]
[SerializeField] protected Object[] m_MeleeObjects;
[Tooltip("Any object that should always be removed.")]
[SerializeField] protected Object[] m_RemoveObjects;
[Tooltip("Objects that should use the shadow caster while in a first person only perspective.")]
[SerializeField] protected GameObject[] m_ShadowCasterObjects;
[Tooltip("A reference to other Object References that should be checked.")]
[SerializeField] protected ObjectReferences[] m_NestedReferences;
[Tooltip("A reference to the first person door objects.")]
[SerializeField] protected GameObject[] m_FirstPersonDoors;
[Tooltip("A reference to the third person door objects.")]
[SerializeField] protected GameObject[] m_ThirdPersonDoors;
public Object[] FirstPersonObjects { get { return m_FirstPersonObjects; } set { m_FirstPersonObjects = value; } }
public Object[] ThirdPersonObjects { get { return m_ThirdPersonObjects; } set { m_ThirdPersonObjects = value; } }
public Object[] ShooterObjects { get { return m_ShooterObjects; } set { m_ShooterObjects = value; } }
public Object[] MeleeObjects { get { return m_MeleeObjects; } set { m_MeleeObjects = value; } }
public Object[] RemoveObjects { get { return m_RemoveObjects; } set { m_RemoveObjects = value; } }
public GameObject[] ShadowCasterObjects { get { return m_ShadowCasterObjects; } set { m_ShadowCasterObjects = value; } }
public ObjectReferences[] NestedReferences { get { return m_NestedReferences; } set { m_NestedReferences = value; } }
public GameObject[] FirstPersonDoors { get { return m_FirstPersonDoors; } set { m_FirstPersonDoors = value; } }
public GameObject[] ThirdPersonDoors { get { return m_ThirdPersonDoors; } set { m_ThirdPersonDoors = value; } }
}
}