Gallery Done

This commit is contained in:
Savya Bikram Shah
2026-05-27 10:55:39 +05:45
parent 3791708a17
commit f3b53be39d
19 changed files with 415 additions and 201 deletions

View File

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

View File

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

View File

@@ -0,0 +1,13 @@
using Darkmatter.Core.Contracts.Services.Gallery;
using UnityEngine;
namespace Darkmatter.Services.Gallery
{
public class GalleryService : IGalleryService
{
public void SaveImageAsync(Texture2D image, string fileName)
{
NativeGallery.SaveImageToGallery(image, "ColorBook", fileName);
}
}
}

View File

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

View File

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

View File

@@ -0,0 +1,19 @@
using UnityEngine;
namespace Darkmatter.Services.Gallery
{
public class GalleryServiceModule : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
}

View File

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

View File

@@ -0,0 +1,19 @@
{
"name": "Services.Gallery",
"rootNamespace": "Darkmatter.Services.Gallery",
"references": [
"GUID:6a0a834eb41764f12ba55c3fb04a40cb",
"GUID:c1c03c0e5b2f4412b9f2be1c20d6a9b1",
"GUID:b0214a6008ed146ff8f122a6a9c2f6cc",
"GUID:6e5063adab271564ba0098a06a8cebda"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

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