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,9 @@
namespace Assets._Project.Develop.Runtime.Utilities.LoadingScreen
{
public interface ILoadingScreen
{
bool IsShown { get; }
void Show();
void Hide();
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 94ae254a4c187de408c5edfea987d792
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,19 @@
using UnityEngine;
namespace Assets._Project.Develop.Runtime.Utilities.LoadingScreen
{
public class StandardLoadingScreen : MonoBehaviour, ILoadingScreen
{
public bool IsShown => gameObject.activeSelf;
private void Awake()
{
Hide();
DontDestroyOnLoad(this);
}
public void Hide() => gameObject.SetActive(false);
public void Show() => gameObject.SetActive(true);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d099fb8b85a67de4292ff35469d7e2ac
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: