Skip to content

Commit

Permalink
[v0.2.8-pre.5] Renaming reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
g0dzZz-coder committed Jul 12, 2024
1 parent 471e8fb commit 1efa594
Show file tree
Hide file tree
Showing 32 changed files with 87 additions and 85 deletions.
16 changes: 8 additions & 8 deletions Docs/README.RU.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Depra.Assets

![License](https://img.shields.io/github/license/Depra-Inc/Asset.Unity?style=flat-round)
![Last Commit](https://img.shields.io/github/last-commit/Depra-Inc/Asset.Unity?style=flat-round)
![Code Size](https://img.shields.io/github/languages/code-size/Depra-Inc/Asset.Unity?style=flat-round)
![License](https://img.shields.io/github/license/Depra-Inc/Assets.Unity?style=flat-round)
![Last Commit](https://img.shields.io/github/last-commit/Depra-Inc/Assets.Unity?style=flat-round)
![Code Size](https://img.shields.io/github/languages/code-size/Depra-Inc/Assets.Unity?style=flat-round)

<div>
<strong><a href="README.md">English</a> | <a href="README.RU.md">Русский</a></strong>
Expand Down Expand Up @@ -64,15 +64,15 @@
1. Откройте окно **Unity Package Manager**.
2. Нажмите на кнопку **+** в правом верхнем углу окна.
3. Выберите **Add package from git URL...**.
4. Введите [ссылку на репозиторий](https://github.com/Depra-Inc/Asset.Unity.git)
4. Введите [ссылку на репозиторий](https://github.com/Depra-Inc/Assets.Unity.git)
5. Нажмите **Add**.

### ⚙️ Через **UPM** используя `manifest.json`:

Добавьте в `Packages/manifest.json` в раздел `dependencies` следующую строку:

```
"com.depra.assets.unity": "https://github.com/Depra-Inc/Asset.Unity.git"
"com.depra.assets.unity": "https://github.com/Depra-Inc/Assets.Unity.git"
```

### 🛒 Через Unity Asset Store:
Expand Down Expand Up @@ -166,8 +166,8 @@ preloadedAsset.Unload();
## 🤝 Сотрудничество

Я рад приветствовать запросы на добавление новых функций и сообщения об ошибках в
разделе [issues](https://github.com/Depra-Inc/Asset.Unity/issues) и также
принимать [pull requests](https://github.com/Depra-Inc/Asset.Unity/pulls).
разделе [issues](https://github.com/Depra-Inc/Assets.Unity/issues) и также
принимать [pull requests](https://github.com/Depra-Inc/Assets.Unity/pulls).

## 🫂 Поддержка

Expand All @@ -179,7 +179,7 @@ preloadedAsset.Unload();
## 🔐 Лицензия

Этот проект распространяется под лицензией
**[Apache-2.0](https://github.com/Depra-Inc/Asset.Unity/blob/main/LICENSE.md)**
**[Apache-2.0](https://github.com/Depra-Inc/Assets.Unity/blob/main/LICENSE.md)**

Copyright (c) 2023 Николай Мельников
[[email protected]](mailto:[email protected])
20 changes: 10 additions & 10 deletions Docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Depra.Asset
# Depra.Assets

![License](https://img.shields.io/github/license/Depra-Inc/Asset.Unity?style=flat-round)
![Last Commit](https://img.shields.io/github/last-commit/Depra-Inc/Asset.Unity?style=flat-round)
![Code Size](https://img.shields.io/github/languages/code-size/Depra-Inc/Asset.Unity?style=flat-round)
![License](https://img.shields.io/github/license/Depra-Inc/Assets.Unity?style=flat-round)
![Last Commit](https://img.shields.io/github/last-commit/Depra-Inc/Assets.Unity?style=flat-round)
![Code Size](https://img.shields.io/github/languages/code-size/Depra-Inc/Assets.Unity?style=flat-round)

<div>
<strong><a href="README.md">English</a> | <a href="README.RU.md">Русский</a></strong>
Expand Down Expand Up @@ -64,15 +64,15 @@ These features make the library even more powerful and convenient for your tasks
1. Open the **Unity Package Manager** window.
2. Click the **+** button in the upper right corner of the window.
3. Select **Add package from git URL...**.
4. Enter the [repository link](https://github.com/Depra-Inc/Asset.Unity.git).
4. Enter the [repository link](https://github.com/Depra-Inc/Assets.Unity.git).
5. Click **Add**.

### ⚙️ Using **UPM** via **manifest.json**:

Add the following line to `Packages/manifest.json` in the `dependencies` section:

```
"com.depra.asset.unity": "https://github.com/Depra-Inc/Asset.Unity.git"
"com.depra.assets.unity": "https://github.com/Depra-Inc/Assets.Unity.git"
```

### 🛒 Using Unity Asset Store:
Expand Down Expand Up @@ -160,14 +160,14 @@ preloadedAsset.Unload();

## 🖇 Dependencies

- [Depra.Asset](https://github.com/Depra-Inc/Asset.git) - the base library for working with assets (provided
- [Depra.Asset](https://github.com/Depra-Inc/Assets.git) - the base library for working with assets (provided
with this **UPM** package).

## 🤝 Collaboration

I welcome feature requests and bug reports in
the [issues section](https://github.com/Depra-Inc/Asset.Unity/issues), and I also
accept [pull requests](https://github.com/Depra-Inc/Asset.Unity/pulls).
the [issues section](https://github.com/Depra-Inc/Assets.Unity/issues), and I also
accept [pull requests](https://github.com/Depra-Inc/Assets.Unity/pulls).

## 🫂 Support

Expand All @@ -178,7 +178,7 @@ my [portfolio](https://github.com/Depra-Inc) and [contact me](mailto:g0dzZz1lla@
## 🔐 License

This project is distributed under the
**[Apache-2.0 license](https://github.com/Depra-Inc/Asset.Unity/blob/main/LICENSE.md)**
**[Apache-2.0 license](https://github.com/Depra-Inc/Assets.Unity/blob/main/LICENSE.md)**

Copyright (c) 2023 Nikolay Melnikov
[[email protected]](mailto:[email protected])
4 changes: 2 additions & 2 deletions Editor/Depra.Assets.Editor.asmdef
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Depra.Asset.Editor",
"name": "Depra.Assets.Editor",
"rootNamespace": "Depra.Assets",
"references": [
"GUID:ce2ab5ef472b35f498b9d47a89be9396"
Expand All @@ -11,7 +11,7 @@
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [
"Depra.Asset.dll"
"Depra.Assets.dll"
],
"autoReferenced": true,
"defineConstraints": [],
Expand Down
6 changes: 3 additions & 3 deletions Editor/Drawers/ResourcesReferenceDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// SPDX-License-Identifier: Apache-2.0
// © 2023-2024 Nikolay Melnikov <[email protected]>

using Depra.Asset.Editor.Extensions;
using Depra.Asset.Files.Resource;
using Depra.Assets.Editor.Extensions;
using Depra.Assets.Files.Resource;
using UnityEditor;
using UnityEngine;

namespace Depra.Asset.Editor.Drawers
namespace Depra.Assets.Editor.Drawers
{
[CustomPropertyDrawer(typeof(ResourcesReference), true)]
internal sealed class ResourcesReferenceDrawer : PropertyDrawer
Expand Down
2 changes: 1 addition & 1 deletion Editor/Extensions/SerializedPropertyExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Text.RegularExpressions;
using UnityEditor;

namespace Depra.Asset.Editor.Extensions
namespace Depra.Assets.Editor.Extensions
{
internal static class SerializedPropertyExtensions
{
Expand Down
14 changes: 7 additions & 7 deletions Editor/Files/EditorDatabaseAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Depra.Asset.Delegates;
using Depra.Asset.Exceptions;
using Depra.Asset.Extensions;
using Depra.Asset.Files;
using Depra.Asset.Files.Database;
using Depra.Asset.ValueObjects;
using Depra.Assets.Delegates;
using Depra.Assets.Extensions;
using Depra.Assets.ValueObjects;
using Depra.Assets.Exceptions;
using Depra.Assets.Files;
using Depra.Assets.Files.Database;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;

namespace Depra.Asset.Editor.Files
namespace Depra.Assets.Editor.Files
{
public sealed class EditorDatabaseAsset<TAsset> : IAssetFile<TAsset>, IDisposable where TAsset : ScriptableObject
{
Expand Down
10 changes: 5 additions & 5 deletions Editor/Files/PreloadedAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Depra.Asset.Delegates;
using Depra.Asset.Exceptions;
using Depra.Asset.Files;
using Depra.Asset.ValueObjects;
using Depra.Assets.Delegates;
using Depra.Assets.ValueObjects;
using Depra.Assets.Exceptions;
using Depra.Assets.Files;
using UnityEditor;
using Object = UnityEngine.Object;

namespace Depra.Asset.Editor.Files
namespace Depra.Assets.Editor.Files
{
public sealed class PreloadedAsset<TAsset> : IAssetFile<TAsset>, IDisposable where TAsset : Object
{
Expand Down
Binary file removed Plugins/Depra.Asset.dll
Binary file not shown.
Binary file added Plugins/Depra.Assets.dll
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "Depra.Asset.Unity",
"rootNamespace": "Depra.Asset",
"name": "Depra.Assets.Unity",
"rootNamespace": "Depra.Assets",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [
"Depra.Asset.dll"
"Depra.Assets.dll"
],
"autoReferenced": true,
"defineConstraints": [],
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Runtime/Exceptions/AssetCanNotBeLoaded.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Depra.Asset.Exceptions
namespace Depra.Assets.Exceptions
{
internal sealed class AssetCanNotBeLoaded : Exception
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Exceptions/Guard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.IO;
using System.Runtime.CompilerServices;

namespace Depra.Asset.Exceptions
namespace Depra.Assets.Exceptions
{
internal static class Guard
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Extensions/DirectoryInfoExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.IO;
using System.Runtime.CompilerServices;

namespace Depra.Asset.Extensions
namespace Depra.Assets.Extensions
{
public static class DirectoryInfoExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System.Runtime.CompilerServices;

namespace Depra.Asset.Extensions
namespace Depra.Assets.Extensions
{
public static class StringExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Extensions/TaskExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Runtime.ExceptionServices;
using System.Threading.Tasks;

namespace Depra.Asset.Extensions
namespace Depra.Assets.Extensions
{
internal static class TaskExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Files.Database/AssetCatNotBeCreated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System;
using System.Reflection;

namespace Depra.Asset.Files.Database
namespace Depra.Assets.Files.Database
{
internal sealed class AssetCatNotBeCreated : Exception
{
Expand Down
4 changes: 2 additions & 2 deletions Runtime/Files.Database/DatabaseAssetUri.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// © 2023-2024 Nikolay Melnikov <[email protected]>

using System.IO;
using Depra.Asset.ValueObjects;
using Depra.Assets.ValueObjects;

namespace Depra.Asset.Files.Database
namespace Depra.Assets.Files.Database
{
public sealed record DatabaseAssetUri : IAssetUri
{
Expand Down
8 changes: 4 additions & 4 deletions Runtime/Files.Database/RuntimeDatabaseAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Depra.Asset.Delegates;
using Depra.Asset.Exceptions;
using Depra.Asset.ValueObjects;
using Depra.Assets.Delegates;
using Depra.Assets.Exceptions;
using Depra.Assets.ValueObjects;
using UnityEngine;

namespace Depra.Asset.Files.Database
namespace Depra.Assets.Files.Database
{
public sealed class RuntimeDatabaseAsset<TAsset> : IAssetFile<TAsset>, IDisposable where TAsset : ScriptableObject
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Depra.Asset.Files.Resource.Exceptions
namespace Depra.Assets.Files.Resource.Exceptions
{
internal sealed class PathDoesNotContainResourcesFolder : Exception
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Files.Resource/Exceptions/ResourceNotLoaded.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System;

namespace Depra.Asset.Files.Resource.Exceptions
namespace Depra.Assets.Files.Resource.Exceptions
{
internal sealed class ResourceNotLoaded : Exception
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Files.Resource/ResourceRequestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using UnityEngine;
using Object = UnityEngine.Object;

namespace Depra.Asset.Files.Resource
namespace Depra.Assets.Files.Resource
{
internal static class ResourceRequestExtensions
{
Expand Down
10 changes: 5 additions & 5 deletions Runtime/Files.Resource/ResourcesAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Depra.Asset.Delegates;
using Depra.Asset.Exceptions;
using Depra.Asset.Files.Resource.Exceptions;
using Depra.Asset.ValueObjects;
using Depra.Assets.Delegates;
using Depra.Assets.Exceptions;
using Depra.Assets.Files.Resource.Exceptions;
using Depra.Assets.ValueObjects;
using UnityEngine;
using Object = UnityEngine.Object;

namespace Depra.Asset.Files.Resource
namespace Depra.Assets.Files.Resource
{
public sealed class ResourcesAsset<TAsset> : IAssetFile<TAsset>, IDisposable where TAsset : Object
{
Expand Down
12 changes: 6 additions & 6 deletions Runtime/Files.Resource/ResourcesPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

using System;
using System.IO;
using Depra.Asset.Exceptions;
using Depra.Asset.Extensions;
using Depra.Asset.Files.Resource.Exceptions;
using Depra.Asset.ValueObjects;
using static Depra.Asset.Internal.UnityProject;
using Depra.Assets.Exceptions;
using Depra.Assets.Extensions;
using Depra.Assets.Files.Resource.Exceptions;
using Depra.Assets.ValueObjects;
using static Depra.Assets.Internal.UnityProject;

namespace Depra.Asset.Files.Resource
namespace Depra.Assets.Files.Resource
{
public sealed record ResourcesPath : IAssetUri
{
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Files.Resource/ResourcesReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using UnityEngine;
using Object = UnityEngine.Object;

namespace Depra.Asset.Files.Resource
namespace Depra.Assets.Files.Resource
{
[Serializable]
public sealed class ResourcesReference<TAsset> : ResourcesReference where TAsset : Object { }
Expand Down
6 changes: 3 additions & 3 deletions Runtime/Files/UnityFileSize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// © 2023-2024 Nikolay Melnikov <[email protected]>

using System.Runtime.CompilerServices;
using Depra.Asset.ValueObjects;
using Depra.Assets.ValueObjects;
using UnityEngine;
using UnityEngine.Profiling;

namespace Depra.Asset.Files
namespace Depra.Assets.Files
{
internal static class UnityFileSize
public static class UnityFileSize
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static FileSize FromProfiler(Object asset) => new(Profiler.GetRuntimeMemorySizeLong(asset));
Expand Down
Loading

0 comments on commit 1efa594

Please sign in to comment.