chip-gameV3/Assets/Scripts/Gameplay/BoardConfiguration.cs

16 lines
409 B
C#

using UnityEngine;
public struct BoardConfiguration
{
public readonly Transform topLeftCell;
public readonly Vector2 cellOffset;
public readonly float stickedYOffset;
public BoardConfiguration(Transform topLeft, Vector2 cellOffset, float stickedYOffset)
{
this.topLeftCell = topLeft;
this.cellOffset = cellOffset;
this.stickedYOffset = stickedYOffset;
}
}