init: add project

This commit is contained in:
Bragin Stepan
2026-02-18 23:02:28 +05:00
commit 4f01e66894
620 changed files with 52253 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 09469fa4089d4337a6f15c97e8de91d1
timeCreated: 1770310930

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 42a7ac9b4d0546bb953736e362f57d18
timeCreated: 1770317233

View File

@@ -0,0 +1,10 @@
using UnityEngine;
namespace _Project.Develop.Runtime.Configs.Gameplay.Levels
{
[CreateAssetMenu(menuName = "Configs/Gameplay/Levels/NewLevelConfig", fileName = "LevelConfig")]
public class LevelConfigSO : ScriptableObject
{
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 92b0407d77114e269e933958033e5582
timeCreated: 1771426563

View File

@@ -0,0 +1,20 @@
using System.Collections.Generic;
using UnityEngine;
namespace _Project.Develop.Runtime.Configs.Gameplay.Levels
{
[CreateAssetMenu(menuName = "Configs/Gameplay/Levels/LevelsListConfig", fileName = "LevelsListConfig")]
public class LevelsListConfigSO : ScriptableObject
{
[SerializeField] private List<LevelConfigSO> _levels;
public IReadOnlyList<LevelConfigSO> Levels => _levels;
public LevelConfigSO GetBy(int levelNumber)
{
int levelIndex = levelNumber - 1;
return _levels[levelIndex];
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6d98a268b1d14e748199df00442f0142
timeCreated: 1770317333

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0699768783a644f9842f4fca57c22176
timeCreated: 1770822727

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using _Project.Develop.Runtime.Logic.Meta.Features.Wallet;
using UnityEngine;
namespace _Project.Develop.Runtime.Configs.Meta
{
[CreateAssetMenu(menuName = "Configs/Meta/Wallet/NewCurrencyIconsConfig", fileName = "CurrencyIconsConfig")]
public class CurrencyIconsConfigSO : ScriptableObject
{
[SerializeField] private List<CurrencyConfig> _configs;
public Sprite GetSpriteFor(CurrencyTypes currencyType)
=> _configs.First(config => config.Type == currencyType).Sprite;
[Serializable]
private class CurrencyConfig
{
[field: SerializeField] public CurrencyTypes Type { get; private set; }
[field: SerializeField] public Sprite Sprite { get; private set; }
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 2878946a8cb24cbcb7234ea84d8630c8
timeCreated: 1770822736

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using _Project.Develop.Runtime.Logic.Meta.Features.Wallet;
using UnityEngine;
namespace _Project.Develop.Runtime.Configs.Meta
{
[CreateAssetMenu(menuName = "Configs/Meta/Wallet/NewStartWalletConfig", fileName = "StartWalletConfig")]
public class StartWalletConfigSO : ScriptableObject
{
[SerializeField] private List<CurrencyConfig> _values;
public int GetValueFor(CurrencyTypes currencyType)
=> _values.First(config => config.Type == currencyType).Value;
[Serializable]
private class CurrencyConfig
{
[field: SerializeField] public CurrencyTypes Type { get; private set; }
[field: SerializeField] public int Value { get; private set; }
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 49fdd27f59754c9b9eea8145306d4d61
timeCreated: 1770822736