WIP : Props placement and lighting test

This commit is contained in:
Ferlat Thibaud
2026-04-03 19:19:59 +02:00
parent 610f85e4ba
commit fef26f3790
248 changed files with 23629 additions and 2922 deletions
@@ -0,0 +1,40 @@
using System.Collections.Generic;
using UnityEngine;
using Unheimlich.Features.Hallucination;
namespace Unheimlich.World.Environment
{
/// <summary>
/// Configuration for a single stair slot.
/// Slot indices are relative: 0 = ground level, positive = up, negative = down.
/// </summary>
[System.Serializable]
public class StaircaseSlotData
{
[Tooltip("Slot index this data applies to. 0 = ground, positive = up, negative = down.")]
public int SlotIndex;
[Tooltip("Word displayed on the FloatingLabel of this segment.")]
public string Word;
[Tooltip("Optional hallucination event fired when the player enters this segment's zone.")]
public HallucinationEvent HallucinationEvent;
}
/// <summary>
/// ScriptableObject holding the full word/event sequence for one staircase.
/// Each slot entry binds a display word and an optional hallucination event to a given slot index.
/// Slots not listed here receive no word and fire no event.
/// </summary>
/// <remarks>
/// Create via Assets › Create › Unheimlich › Hallucination › Staircase Sequence Data.
/// </remarks>
[CreateAssetMenu(
fileName = "StaircaseSequenceData",
menuName = "Unheimlich/Hallucination/Staircase Sequence Data")]
public class StaircaseSequenceData : ScriptableObject
{
[Tooltip("Per-slot configuration. Slots not listed here get no word and no event.")]
public List<StaircaseSlotData> Slots = new();
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 7f9be4fbaead86548b21371bf4598477