Сделан сервис UI и заготовки панелек

This commit is contained in:
ThomasCharester committed 2025-10-29 16:01:18 +03:00
1 parent 6f2b063700
commit ae76edb0d0
161 files changed
+70228 -6

No files matched your search

@@ -0,0 +1,11 @@
using UnityEngine;
namespace Code.Configs
{
[CreateAssetMenu(menuName = "Config/Player", fileName = "PlayerConfig")]
public class PlayerConfig : ScriptableObject
{
public Player playerPrefab;
public int maxHealth;
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 425c2ad28dbe4552acd1564f64372558
timeCreated: 1761591274
@@ -0,0 +1,13 @@
using Code.UI;
using UnityEngine;
using UnityEngine.Serialization;
namespace Code.Configs
{
[CreateAssetMenu(menuName = "Config/UI", fileName = "UIConfig")]
public class UIConfig : ScriptableObject
{
[FormerlySerializedAs("uiElements")] public UIElement[] uiElementsPrefabs;
[FormerlySerializedAs("canvas")] public Canvas canvasPrefab;
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: feaa36c74e094e0aa24b3983957a6e4e
timeCreated: 1761591380