mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-05 07:41:10 +00:00
init: add project
This commit is contained in:
16
Assets/_Project/Develop/Runtime/Constants/MapDataKeys.cs
Normal file
16
Assets/_Project/Develop/Runtime/Constants/MapDataKeys.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Assets._Project.Develop.Runtime.Utilities.DataManagement;
|
||||
|
||||
namespace Assets._Project.Develop.Runtime.Utilities.SceneManagement
|
||||
{
|
||||
public static class MapDataKeys
|
||||
{
|
||||
public static readonly IReadOnlyDictionary<Type, string> Dictionary = new Dictionary<Type, string>()
|
||||
{
|
||||
// { typeof(GameData), "GameData" },
|
||||
{ typeof(PlayerData), "PlayerData" },
|
||||
// { typeof(SettingsData), "SettingsData" }
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5b67d847e9954f08afe7f7b88639938a
|
||||
timeCreated: 1770822535
|
||||
57
Assets/_Project/Develop/Runtime/Constants/PathToResources.cs
Normal file
57
Assets/_Project/Develop/Runtime/Constants/PathToResources.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using _Project.Develop.Runtime.Configs.Meta;
|
||||
using _Project.Develop.Runtime.UI.Common;
|
||||
using _Project.Develop.Runtime.UI.Features.LevelsMenuPopup;
|
||||
using _Project.Develop.Runtime.UI.Screens.Gameplay;
|
||||
using _Project.Develop.Runtime.UI.Screens.MainMenu;
|
||||
|
||||
namespace Assets._Project.Develop.Runtime.Utilities.SceneManagement
|
||||
{
|
||||
public static class PathToResources
|
||||
{
|
||||
public static IReadOnlyDictionary<Type, string> ScriptableObject => _scriptableObject;
|
||||
public static IReadOnlyDictionary<Type, string> UIPaths => _uiPaths;
|
||||
|
||||
public static class Util
|
||||
{
|
||||
public const string Coroutine = "Utilities/CoroutinesPerformer";
|
||||
}
|
||||
|
||||
public static class UI
|
||||
{
|
||||
public static class LoadingScreen
|
||||
{
|
||||
public const string Standard = "Utilities/StandardLoadingScreen";
|
||||
}
|
||||
|
||||
public static class Screens
|
||||
{
|
||||
public const string MainMenu = "UI/Screens/MainMenu/MainMenuUIRoot";
|
||||
public const string Gameplay = "UI/Screens/Gameplay/GameplayUIRoot";
|
||||
}
|
||||
}
|
||||
|
||||
public static class Entity
|
||||
{
|
||||
public const string TestEntity = "Entities/TestEntity";
|
||||
}
|
||||
|
||||
private static readonly Dictionary<Type, string> _scriptableObject = new()
|
||||
{
|
||||
{ typeof(StartWalletConfigSO), "Configs/Meta/Wallet/StartWalletConfig" },
|
||||
{ typeof(CurrencyIconsConfigSO), "Configs/Meta/Wallet/CurrencyIconsConfig" },
|
||||
};
|
||||
|
||||
private static readonly Dictionary<Type, string> _uiPaths = new()
|
||||
{
|
||||
{typeof(MainMenuScreenView), "UI/Screens/MainMenu/MainMenuScreenView" },
|
||||
{typeof(GameplayScreenView), "UI/Screens/Gameplay/GameplayScreenView" },
|
||||
|
||||
{typeof(IconTextView), "UI/Common/IconTextView" },
|
||||
|
||||
{typeof(LevelTileView), "UI/LevelsMenuPopup/LevelTile" },
|
||||
{typeof(LevelsMenuPopupView), "UI/LevelsMenuPopup/LevelsMenuPopup" },
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f17768504c02414396ce50a5b7abb788
|
||||
timeCreated: 1770311252
|
||||
10
Assets/_Project/Develop/Runtime/Constants/Scenes.cs
Normal file
10
Assets/_Project/Develop/Runtime/Constants/Scenes.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Assets._Project.Develop.Runtime.Utilities.SceneManagement
|
||||
{
|
||||
public static class Scenes
|
||||
{
|
||||
public const string GameEntryPoint = "GameEntryPoint";
|
||||
public const string Empty = "Empty";
|
||||
public const string MainMenu = "MainMenu";
|
||||
public const string Gameplay = "Gameplay";
|
||||
}
|
||||
}
|
||||
11
Assets/_Project/Develop/Runtime/Constants/Scenes.cs.meta
Normal file
11
Assets/_Project/Develop/Runtime/Constants/Scenes.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 03ba6c83d23e98d46854db18c5ccb458
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user