Add docs, cleanup structure
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5d9b3e7728c0420c8290986c31d5b738
|
||||
timeCreated: 1764248890
|
||||
Reference in New Issue
Block a user