mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 10:06:58 +00:00
13 lines
333 B
C#
13 lines
333 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public struct TurretShopItem
|
|
{
|
|
[SerializeField] private Turret _turretPrefab;
|
|
[SerializeField] private Sprite _icon;
|
|
|
|
public readonly Turret TurretPrefab => _turretPrefab;
|
|
public readonly Sprite Icon => _icon;
|
|
public readonly int Price => _turretPrefab.Price;
|
|
} |