Add docs, cleanup structure

This commit is contained in:
Michal Pikulski
2025-11-27 14:19:01 +01:00
parent a57fca63bf
commit 3723857a14
22 changed files with 675 additions and 344 deletions

View File

@@ -0,0 +1,39 @@
using UnityEngine;
namespace Minigames.StatueDressup.Data
{
/// <summary>
/// Event data passed with decoration events for VFX/SFX responses
/// </summary>
public class DecorationEventData
{
/// <summary>
/// The decoration data (sprite, id, etc.)
/// </summary>
public DecorationData DecorationData { get; set; }
/// <summary>
/// The GameObject instance of the decoration (if applicable)
/// </summary>
public GameObject Instance { get; set; }
/// <summary>
/// Position where the event occurred (world space)
/// </summary>
public Vector3 Position { get; set; }
/// <summary>
/// Whether this decoration was dragged from the menu or from the statue
/// </summary>
public bool FromStatue { get; set; }
public DecorationEventData(DecorationData data, GameObject instance, Vector3 position, bool fromStatue = false)
{
DecorationData = data;
Instance = instance;
Position = position;
FromStatue = fromStatue;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5d9b3e7728c0420c8290986c31d5b738
timeCreated: 1764248890