40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using System;
|
|
using Minigames.FortFight.Data;
|
|
using UnityEngine;
|
|
|
|
namespace Minigames.FortFight.Settings
|
|
{
|
|
/// <summary>
|
|
/// Configuration for a specific block material (Cardboard, Metal, Glass).
|
|
/// </summary>
|
|
[Serializable]
|
|
public class BlockMaterialConfig
|
|
{
|
|
[Tooltip("The material type this configuration applies to")]
|
|
public BlockMaterial material;
|
|
|
|
[Tooltip("Base HP for this material before size multiplier")]
|
|
public float baseHp;
|
|
|
|
[Tooltip("Base mass for physics simulation before size multiplier")]
|
|
public float baseMass;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Configuration for a specific block size (Small, Medium, Large).
|
|
/// </summary>
|
|
[Serializable]
|
|
public class BlockSizeConfig
|
|
{
|
|
[Tooltip("The size type this configuration applies to")]
|
|
public BlockSize size;
|
|
|
|
[Tooltip("HP multiplier applied to base material HP")]
|
|
public float hpMultiplier;
|
|
|
|
[Tooltip("Mass multiplier applied to base material mass")]
|
|
public float massMultiplier;
|
|
}
|
|
}
|
|
|