folders fix

This commit is contained in:
szczuras4
2025-11-13 19:02:06 +01:00
parent b9229741a0
commit 0c579fa12e
4 changed files with 179 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
// Atrybut, który bêdzie u¿ywany do oznaczania nag³ówków z t³em
public class HeaderWithBackgroundAttribute : PropertyAttribute
{
public string HeaderText; // Tekst nag³ówka
public Color BackgroundColor; // Kolor t³a
// Konstruktor, który ustawia tekst i kolor t³a
public HeaderWithBackgroundAttribute(string headerText, float r, float g, float b)
{
HeaderText = headerText;
BackgroundColor = new Color(r, g, b, 1f); // Kolor z pe³n¹ przezroczystoœci¹
}
}