Initial Setup

This commit is contained in:
Savya Bikram Shah
2026-05-26 18:45:12 +05:45
parent 8d599a6396
commit a1ba052ece
48 changed files with 2393 additions and 781 deletions

View File

@@ -0,0 +1,20 @@
{
"name": "Darkmatter.App",
"rootNamespace": "",
"references": [
"GUID:6a0a834eb41764f12ba55c3fb04a40cb",
"GUID:b0214a6008ed146ff8f122a6a9c2f6cc",
"GUID:f51ebe6a0ceec4240a699833d6309b23",
"GUID:c1c03c0e5b2f4412b9f2be1c20d6a9b1",
"GUID:80ecb87cae9c44d19824e70ea7229748"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 4a17b34a5422c458ea460613a87c5a08
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8e8bdb018476d4d6e8c40e4241d86c61
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,18 @@
using Darkmatter.Libs.Installers;
using UnityEngine;
using VContainer;
using VContainer.Unity;
public class RootLifetimeScope : LifetimeScope
{
[SerializeField] private MonoBehaviour[] serviceModules;
protected override void Configure(IContainerBuilder builder)
{
foreach (var module in serviceModules)
{
if (module is IServiceModule serviceModule)
serviceModule.Register(builder);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: cdbf68f1689a84f7588ae13b63f7a3c9