diff --git a/Docs~/Doxyfile b/Docs~/Doxyfile index 3c1235af..532b16dd 100644 --- a/Docs~/Doxyfile +++ b/Docs~/Doxyfile @@ -1049,7 +1049,8 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = ../Tests +EXCLUDE = ../Tests \ + ../Samples~ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded diff --git a/Docs~/html/_code_smile_asset_database_examples_8cs_source.html b/Docs~/html/_code_smile_asset_database_examples_8cs_source.html new file mode 100644 index 00000000..bb2812d3 --- /dev/null +++ b/Docs~/html/_code_smile_asset_database_examples_8cs_source.html @@ -0,0 +1,158 @@ + + + + + + + +CodeSmile AssetDatabase: P:/de.codesmile.assetdatabase/Samples~/CreateAndDelete/CodeSmileAssetDatabaseExamples.cs Source File + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CodeSmileAssetDatabaseExamples.cs
+
+
+
1// Copyright (C) 2021-2024 Steffen Itterheim
+
2// Refer to included LICENSE file for terms and conditions.
+
3
+ +
5using System;
+
6using System.IO;
+
7using UnityEditor;
+
8using UnityEngine;
+
9
+
+ +
11{
+
12 private const String TestFolder = "Assets/_sub_folder_";
+
13
+
19 [MenuItem("Window/CodeSmile/AssetDatabase Examples/Create and Delete Asset")]
+
20 private static void CreateAndDeleteAsset()
+
21 {
+
22 var path = $"{TestFolder}/TestAsset.asset";
+
23 var asset = new Asset(ScriptableObject.CreateInstance<TestAsset>(), path);
+
24
+
25 var instance = asset.MainObject;
+
26 var assetPath = asset.AssetPath;
+
27 Debug.Log($"Asset '{instance}' created at '{assetPath}'");
+
28
+
29 var message = asset.GetMain<TestAsset>().Message;
+
30 Debug.Log($"Asset says: '{message}'");
+
31
+
32 asset.Delete();
+
33 Debug.Log($"Asset deleted: {asset.IsDeleted}");
+
34
+
35 // a folder is an asset, too!
+
36 var folder = new Asset(TestFolder);
+
37 folder.Delete();
+
38
+
39 Debug.Log($"Testfolder removed: {!Directory.Exists(TestFolder)}");
+
40 }
+
41}
+
+ +
Replacement implementation for Unity's massive AssetDatabase class with a cleaner interface and more ...
+ + +
+
+ + + + diff --git a/Docs~/html/_test_asset_8cs_source.html b/Docs~/html/_test_asset_8cs_source.html new file mode 100644 index 00000000..bd251f97 --- /dev/null +++ b/Docs~/html/_test_asset_8cs_source.html @@ -0,0 +1,131 @@ + + + + + + + +CodeSmile AssetDatabase: P:/de.codesmile.assetdatabase/Samples~/CreateAndDelete/TestAsset.cs Source File + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TestAsset.cs
+
+
+
1// Copyright (C) 2021-2024 Steffen Itterheim
+
2// Refer to included LICENSE file for terms and conditions.
+
3
+
4using System;
+
5using UnityEngine;
+
6
+
+
7public class TestAsset : ScriptableObject
+
8{
+
9 public String Message = "To be, or not to be: that is not a question.";
+
10
+
11 private void OnEnable() => name = "Test ScriptableObject";
+
12}
+
+ +
+
+ + + + diff --git a/Docs~/html/class_code_smile_asset_database_examples-members.html b/Docs~/html/class_code_smile_asset_database_examples-members.html new file mode 100644 index 00000000..db3c179e --- /dev/null +++ b/Docs~/html/class_code_smile_asset_database_examples-members.html @@ -0,0 +1,112 @@ + + + + + + + +CodeSmile AssetDatabase: Member List + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CodeSmileAssetDatabaseExamples Member List
+
+
+ +

This is the complete list of members for CodeSmileAssetDatabaseExamples, including all inherited members.

+
+
+ + + + diff --git a/Docs~/html/class_code_smile_asset_database_examples.html b/Docs~/html/class_code_smile_asset_database_examples.html new file mode 100644 index 00000000..1ba88088 --- /dev/null +++ b/Docs~/html/class_code_smile_asset_database_examples.html @@ -0,0 +1,123 @@ + + + + + + + +CodeSmile AssetDatabase: CodeSmileAssetDatabaseExamples Class Reference + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
CodeSmileAssetDatabaseExamples Class Reference
+
+
+
+ + Collaboration diagram for CodeSmileAssetDatabaseExamples:
+
+
+ +

Detailed Description

+
+

Definition at line 10 of file CodeSmileAssetDatabaseExamples.cs.

+
+
+ + + + diff --git a/Docs~/html/class_code_smile_asset_database_examples__coll__graph.map b/Docs~/html/class_code_smile_asset_database_examples__coll__graph.map new file mode 100644 index 00000000..cd5faf49 --- /dev/null +++ b/Docs~/html/class_code_smile_asset_database_examples__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/Docs~/html/class_code_smile_asset_database_examples__coll__graph.md5 b/Docs~/html/class_code_smile_asset_database_examples__coll__graph.md5 new file mode 100644 index 00000000..6b67f288 --- /dev/null +++ b/Docs~/html/class_code_smile_asset_database_examples__coll__graph.md5 @@ -0,0 +1 @@ +40f9f67315cc39ed6fbe91650768960f \ No newline at end of file diff --git a/Docs~/html/class_code_smile_asset_database_examples__coll__graph.svg b/Docs~/html/class_code_smile_asset_database_examples__coll__graph.svg new file mode 100644 index 00000000..77769631 --- /dev/null +++ b/Docs~/html/class_code_smile_asset_database_examples__coll__graph.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + +CodeSmileAssetDatabaseExamples + + +Node1 + + +CodeSmileAssetDatabaseExamples +  +  + + + + + + + + + + + + + diff --git a/Docs~/html/class_code_smile_asset_database_examples__coll__graph_org.svg b/Docs~/html/class_code_smile_asset_database_examples__coll__graph_org.svg new file mode 100644 index 00000000..e2093048 --- /dev/null +++ b/Docs~/html/class_code_smile_asset_database_examples__coll__graph_org.svg @@ -0,0 +1,26 @@ + + + + + + +CodeSmileAssetDatabaseExamples + + +Node1 + + +CodeSmileAssetDatabaseExamples +  +  + + + + + + + + diff --git a/Docs~/html/class_test_asset-members.html b/Docs~/html/class_test_asset-members.html new file mode 100644 index 00000000..4d700978 --- /dev/null +++ b/Docs~/html/class_test_asset-members.html @@ -0,0 +1,114 @@ + + + + + + + +CodeSmile AssetDatabase: Member List + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TestAsset Member List
+
+
+ +

This is the complete list of members for TestAsset, including all inherited members.

+ + +
Message (defined in TestAsset)TestAsset
+
+ + + + diff --git a/Docs~/html/class_test_asset.html b/Docs~/html/class_test_asset.html new file mode 100644 index 00000000..c85c917e --- /dev/null +++ b/Docs~/html/class_test_asset.html @@ -0,0 +1,137 @@ + + + + + + + +CodeSmile AssetDatabase: TestAsset Class Reference + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
TestAsset Class Reference
+
+
+
+ + Inheritance diagram for TestAsset:
+
+
+ +
+ + Collaboration diagram for TestAsset:
+
+
+ + + + + +

+Public Attributes

String Message = "To be, or not to be: that is not a question."
 
+

Detailed Description

+
+

Definition at line 7 of file TestAsset.cs.

+
+
+ + + + diff --git a/Docs~/html/class_test_asset__coll__graph.map b/Docs~/html/class_test_asset__coll__graph.map new file mode 100644 index 00000000..84ed5681 --- /dev/null +++ b/Docs~/html/class_test_asset__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/Docs~/html/class_test_asset__coll__graph.md5 b/Docs~/html/class_test_asset__coll__graph.md5 new file mode 100644 index 00000000..d0df0981 --- /dev/null +++ b/Docs~/html/class_test_asset__coll__graph.md5 @@ -0,0 +1 @@ +134997a6315964e36faab83de39fdadc \ No newline at end of file diff --git a/Docs~/html/class_test_asset__coll__graph.svg b/Docs~/html/class_test_asset__coll__graph.svg new file mode 100644 index 00000000..63bd4341 --- /dev/null +++ b/Docs~/html/class_test_asset__coll__graph.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + +TestAsset + + +Node1 + + +TestAsset ++ +Message +  + + + + + + + + + +Node2 + + +ScriptableObject +  +  + + + + + + + + +Node2->Node1 + + + + + + + + + + + + + diff --git a/Docs~/html/class_test_asset__coll__graph_org.svg b/Docs~/html/class_test_asset__coll__graph_org.svg new file mode 100644 index 00000000..ff819eae --- /dev/null +++ b/Docs~/html/class_test_asset__coll__graph_org.svg @@ -0,0 +1,51 @@ + + + + + + +TestAsset + + +Node1 + + +TestAsset ++ +Message +  + + + + + + + + + +Node2 + + +ScriptableObject +  +  + + + + + + + + +Node2->Node1 + + + + + + + + diff --git a/Docs~/html/class_test_asset__inherit__graph.map b/Docs~/html/class_test_asset__inherit__graph.map new file mode 100644 index 00000000..84ed5681 --- /dev/null +++ b/Docs~/html/class_test_asset__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/Docs~/html/class_test_asset__inherit__graph.md5 b/Docs~/html/class_test_asset__inherit__graph.md5 new file mode 100644 index 00000000..d0df0981 --- /dev/null +++ b/Docs~/html/class_test_asset__inherit__graph.md5 @@ -0,0 +1 @@ +134997a6315964e36faab83de39fdadc \ No newline at end of file diff --git a/Docs~/html/class_test_asset__inherit__graph.svg b/Docs~/html/class_test_asset__inherit__graph.svg new file mode 100644 index 00000000..63bd4341 --- /dev/null +++ b/Docs~/html/class_test_asset__inherit__graph.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + +TestAsset + + +Node1 + + +TestAsset ++ +Message +  + + + + + + + + + +Node2 + + +ScriptableObject +  +  + + + + + + + + +Node2->Node1 + + + + + + + + + + + + + diff --git a/Docs~/html/class_test_asset__inherit__graph_org.svg b/Docs~/html/class_test_asset__inherit__graph_org.svg new file mode 100644 index 00000000..ff819eae --- /dev/null +++ b/Docs~/html/class_test_asset__inherit__graph_org.svg @@ -0,0 +1,51 @@ + + + + + + +TestAsset + + +Node1 + + +TestAsset ++ +Message +  + + + + + + + + + +Node2 + + +ScriptableObject +  +  + + + + + + + + +Node2->Node1 + + + + + + + + diff --git a/Docs~/html/class_test_asset_a511236ef77d83eeff6ae4e6ae198b451.html b/Docs~/html/class_test_asset_a511236ef77d83eeff6ae4e6ae198b451.html new file mode 100644 index 00000000..05f309ba --- /dev/null +++ b/Docs~/html/class_test_asset_a511236ef77d83eeff6ae4e6ae198b451.html @@ -0,0 +1,124 @@ + + + + + + + +CodeSmile AssetDatabase: TestAsset.Message + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ Message

+ +
+
+ + + + +
String Message = "To be, or not to be: that is not a question."
+
+ +

Definition at line 9 of file TestAsset.cs.

+ +
+
+
+
+ + + + diff --git a/Docs~/html/dir_3116713f16952cca50e94121c3c2735b.html b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b.html new file mode 100644 index 00000000..42556e90 --- /dev/null +++ b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b.html @@ -0,0 +1,126 @@ + + + + + + + +CodeSmile AssetDatabase: P:/de.codesmile.assetdatabase/Samples~/CreateAndDelete Directory Reference + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
CreateAndDelete Directory Reference
+
+
+
+ + Directory dependency graph for CreateAndDelete:
+
+
+ + + + + + + +

+Files

 CodeSmileAssetDatabaseExamples.cs
 
 TestAsset.cs
 
+
+
+ + + + diff --git a/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.map b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.map new file mode 100644 index 00000000..bf0ac7dd --- /dev/null +++ b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.map @@ -0,0 +1,4 @@ + + + + diff --git a/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.md5 b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.md5 new file mode 100644 index 00000000..60cc7411 --- /dev/null +++ b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.md5 @@ -0,0 +1 @@ +4b341175e60c201783538f18a6910fd4 \ No newline at end of file diff --git a/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.svg b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.svg new file mode 100644 index 00000000..455dcf3b --- /dev/null +++ b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + +P:/de.codesmile.assetdatabase/Samples~/CreateAndDelete + +clusterdir_4489e9d55fb4f483f405cd4aeb8c8248 + + +Samples~ + + + + + +dir_3116713f16952cca50e94121c3c2735b + + +CreateAndDelete + + + + + + + + + + diff --git a/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep_org.svg b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep_org.svg new file mode 100644 index 00000000..658b30c2 --- /dev/null +++ b/Docs~/html/dir_3116713f16952cca50e94121c3c2735b_dep_org.svg @@ -0,0 +1,29 @@ + + + + + + +P:/de.codesmile.assetdatabase/Samples~/CreateAndDelete + +clusterdir_4489e9d55fb4f483f405cd4aeb8c8248 + + +Samples~ + + + + + +dir_3116713f16952cca50e94121c3c2735b + + +CreateAndDelete + + + + + diff --git a/Docs~/html/dir_4489e9d55fb4f483f405cd4aeb8c8248.html b/Docs~/html/dir_4489e9d55fb4f483f405cd4aeb8c8248.html new file mode 100644 index 00000000..3efd8d03 --- /dev/null +++ b/Docs~/html/dir_4489e9d55fb4f483f405cd4aeb8c8248.html @@ -0,0 +1,117 @@ + + + + + + + +CodeSmile AssetDatabase: P:/de.codesmile.assetdatabase/Samples~ Directory Reference + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CodeSmile AssetDatabase 1.8 +
+
Clean and accessible version of Unity's ~20 year old AssetDatabase.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Samples~ Directory Reference
+
+
+ + + + +

+Directories

 CreateAndDelete
 
+
+
+ + + + diff --git a/Docs~/html/doxygen_crawl.html b/Docs~/html/doxygen_crawl.html index 560790b1..ef95c61e 100644 --- a/Docs~/html/doxygen_crawl.html +++ b/Docs~/html/doxygen_crawl.html @@ -8,25 +8,25 @@ - - + + - - - + + + - - - - - - + + + + + + diff --git a/Docs~/html/index.html b/Docs~/html/index.html index 885c23ba..e3ebb970 100644 --- a/Docs~/html/index.html +++ b/Docs~/html/index.html @@ -134,7 +134,7 @@

Type conversion:

Asset.Path examples: