net.dreditor.investigations 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.attestation.p7m +0 -0
- package/BulletFragmentCollection.cs +11 -11
- package/BulletFragmentCollection.cs.meta +1 -1
- package/DREditor.Investigations.asmdef +15 -15
- package/DREditor.Investigations.asmdef.meta +7 -7
- package/Editor/DREditor.Investigations.Editor.asmdef +17 -17
- package/Editor/DREditor.Investigations.Editor.asmdef.meta +7 -7
- package/Editor/TruthBulletImporter.cs +149 -149
- package/Editor/TruthBulletImporter.cs.meta +11 -11
- package/Editor.meta +8 -8
- package/Evidence.cs +51 -51
- package/Evidence.cs.meta +11 -11
- package/EvidenceDatabase.cs +12 -12
- package/EvidenceDatabase.cs.meta +11 -11
- package/ITruthBulletData.cs +9 -9
- package/ITruthBulletData.cs.meta +1 -1
- package/TruthBullet.cs +10 -10
- package/TruthBullet.cs.meta +11 -11
- package/TruthBulletGet.cs +87 -87
- package/TruthBulletGet.cs.meta +11 -11
- package/package.json +39 -34
- package/package.json.meta +7 -7
package/.attestation.p7m
ADDED
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
//Rework Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
-
using DREditor.Processables;
|
|
3
|
-
|
|
4
|
-
namespace DREditor.Investigations
|
|
5
|
-
{
|
|
6
|
-
/// <summary>
|
|
7
|
-
///
|
|
8
|
-
/// </summary>
|
|
9
|
-
[System.Serializable]
|
|
10
|
-
[UnityEngine.Scripting.APIUpdating.MovedFrom(true, sourceAssembly: "DREditor")]
|
|
11
|
-
public class BulletFragmentCollection : DescriptionFragmentCollection, ITruthBulletData { }
|
|
1
|
+
//Rework Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
+
using DREditor.Processables;
|
|
3
|
+
|
|
4
|
+
namespace DREditor.Investigations
|
|
5
|
+
{
|
|
6
|
+
/// <summary>
|
|
7
|
+
///
|
|
8
|
+
/// </summary>
|
|
9
|
+
[System.Serializable]
|
|
10
|
+
[UnityEngine.Scripting.APIUpdating.MovedFrom(true, sourceAssembly: "DREditor")]
|
|
11
|
+
public class BulletFragmentCollection : DescriptionFragmentCollection, ITruthBulletData { }
|
|
12
12
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
1
|
+
fileFormatVersion: 2
|
|
2
2
|
guid: ff7c3f93e318a87459623cbe420e18cb
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "DREditor.Investigations",
|
|
3
|
-
"rootNamespace": "",
|
|
4
|
-
"references": [
|
|
5
|
-
"DREditor"
|
|
6
|
-
],
|
|
7
|
-
"includePlatforms": [],
|
|
8
|
-
"excludePlatforms": [],
|
|
9
|
-
"allowUnsafeCode": false,
|
|
10
|
-
"overrideReferences": false,
|
|
11
|
-
"precompiledReferences": [],
|
|
12
|
-
"autoReferenced": true,
|
|
13
|
-
"defineConstraints": [],
|
|
14
|
-
"versionDefines": [],
|
|
15
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "DREditor.Investigations",
|
|
3
|
+
"rootNamespace": "",
|
|
4
|
+
"references": [
|
|
5
|
+
"DREditor"
|
|
6
|
+
],
|
|
7
|
+
"includePlatforms": [],
|
|
8
|
+
"excludePlatforms": [],
|
|
9
|
+
"allowUnsafeCode": false,
|
|
10
|
+
"overrideReferences": false,
|
|
11
|
+
"precompiledReferences": [],
|
|
12
|
+
"autoReferenced": true,
|
|
13
|
+
"defineConstraints": [],
|
|
14
|
+
"versionDefines": [],
|
|
15
|
+
"noEngineReferences": false
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 99e11bfa10dca4548bec73712569b02a
|
|
3
|
-
AssemblyDefinitionImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 99e11bfa10dca4548bec73712569b02a
|
|
3
|
+
AssemblyDefinitionImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "DREditor.Investigations.Editor",
|
|
3
|
-
"rootNamespace": "",
|
|
4
|
-
"references": [
|
|
5
|
-
"DREditor.Investigations",
|
|
6
|
-
"DREditor.Editor",
|
|
7
|
-
"DREditor"
|
|
8
|
-
],
|
|
9
|
-
"includePlatforms": [],
|
|
10
|
-
"excludePlatforms": [],
|
|
11
|
-
"allowUnsafeCode": false,
|
|
12
|
-
"overrideReferences": false,
|
|
13
|
-
"precompiledReferences": [],
|
|
14
|
-
"autoReferenced": true,
|
|
15
|
-
"defineConstraints": [],
|
|
16
|
-
"versionDefines": [],
|
|
17
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "DREditor.Investigations.Editor",
|
|
3
|
+
"rootNamespace": "",
|
|
4
|
+
"references": [
|
|
5
|
+
"DREditor.Investigations",
|
|
6
|
+
"DREditor.Editor",
|
|
7
|
+
"DREditor"
|
|
8
|
+
],
|
|
9
|
+
"includePlatforms": [],
|
|
10
|
+
"excludePlatforms": [],
|
|
11
|
+
"allowUnsafeCode": false,
|
|
12
|
+
"overrideReferences": false,
|
|
13
|
+
"precompiledReferences": [],
|
|
14
|
+
"autoReferenced": true,
|
|
15
|
+
"defineConstraints": [],
|
|
16
|
+
"versionDefines": [],
|
|
17
|
+
"noEngineReferences": false
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 92f31b55ec81d2c48ac7063aa25ec23e
|
|
3
|
-
AssemblyDefinitionImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 92f31b55ec81d2c48ac7063aa25ec23e
|
|
3
|
+
AssemblyDefinitionImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
-
#if UNITY_EDITOR
|
|
3
|
-
using DREditor.Dialogues;
|
|
4
|
-
using DREditor.Editor.Toolbox;
|
|
5
|
-
using DREditor.Editor.Utility;
|
|
6
|
-
using System.Collections.Generic;
|
|
7
|
-
using System.IO;
|
|
8
|
-
using System.Text.RegularExpressions;
|
|
9
|
-
using UnityEditor;
|
|
10
|
-
using UnityEngine;
|
|
11
|
-
|
|
12
|
-
namespace DREditor.Investigations.Editor
|
|
13
|
-
{
|
|
14
|
-
public class TruthBulletImporter : GenerateWizardBase
|
|
15
|
-
{
|
|
16
|
-
[Tooltip("")]
|
|
17
|
-
[TextArea(5, 10)]
|
|
18
|
-
[SerializeField] protected string textArea = "";
|
|
19
|
-
|
|
20
|
-
[Tooltip("")]
|
|
21
|
-
public string regexString = @"(.*?)(\r?\n//[\s\S]*?)(?=\r?\n\r?\n|\r?$)";
|
|
22
|
-
|
|
23
|
-
[Tooltip("")]
|
|
24
|
-
public EvidenceDatabase database;
|
|
25
|
-
|
|
26
|
-
[Tooltip("")]
|
|
27
|
-
public List<EvidenceKeywords> keys = new() { EvidenceKeywords.Name, EvidenceKeywords.Description, };
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
public TruthBulletImporter() : base(true) => assetPrefix = "Bullet_";
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
[MenuItem("DREditor/Import/Truth Bullets")]
|
|
34
|
-
public static void CreateWizard() => DisplayWizard<TruthBulletImporter>("Import TruthBullets", "Import");
|
|
35
|
-
|
|
36
|
-
protected override bool OnEnableWizardValid() => ImportValid();
|
|
37
|
-
|
|
38
|
-
protected override bool ImportValid()
|
|
39
|
-
{
|
|
40
|
-
database = DatabaseUtility.LoadDatabase<EvidenceDatabase>();
|
|
41
|
-
|
|
42
|
-
bool result = database != null || DatabaseUtility.TryCreateDatabaseAt("Resources/Evidence", out database);
|
|
43
|
-
|
|
44
|
-
if (!result &&
|
|
45
|
-
EditorUtility.DisplayDialog("Evidence Database was not specifid.",
|
|
46
|
-
"Please create and assign a Evidence Database and try again", "OK"))
|
|
47
|
-
Close();
|
|
48
|
-
|
|
49
|
-
return result;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
protected override void Import()
|
|
53
|
-
{
|
|
54
|
-
List<TruthBullet> evidenceToSave = new();
|
|
55
|
-
|
|
56
|
-
if (string.IsNullOrEmpty(textArea) &&
|
|
57
|
-
EditorUtility.DisplayDialog("No Text Sent",
|
|
58
|
-
"Please paste the text to import in the text field.", "OK"))
|
|
59
|
-
return;
|
|
60
|
-
|
|
61
|
-
using StringReader reader = new(textArea);
|
|
62
|
-
|
|
63
|
-
Regex regex = new(regexString);
|
|
64
|
-
|
|
65
|
-
Line lastLine = null;
|
|
66
|
-
|
|
67
|
-
int currentLine = 0;
|
|
68
|
-
|
|
69
|
-
while (reader.ReadLine() is string line && line != null)
|
|
70
|
-
{
|
|
71
|
-
TruthBullet truthBullet = CreateInstance<TruthBullet>();
|
|
72
|
-
|
|
73
|
-
if (!line.Contains("//"))
|
|
74
|
-
while (reader.ReadLine() is string l && l.Contains("//"))
|
|
75
|
-
line += "\n" + l;
|
|
76
|
-
|
|
77
|
-
if (line.Trim().Length != 0)
|
|
78
|
-
{
|
|
79
|
-
if (regex.IsMatch(line))
|
|
80
|
-
{
|
|
81
|
-
MatchBullet(regex.Match(line), truthBullet);
|
|
82
|
-
|
|
83
|
-
evidenceToSave.Add(truthBullet);
|
|
84
|
-
}
|
|
85
|
-
else if (lastLine == null &&
|
|
86
|
-
EditorUtility.DisplayDialog("Format incorrect", "The file didn't comply with the format\n" +
|
|
87
|
-
"on line " + currentLine + " \n Line: " + line, "OK"))
|
|
88
|
-
return;
|
|
89
|
-
|
|
90
|
-
currentLine++;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
CreateTruthBullet(evidenceToSave);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
protected virtual void MatchBullet(Match m, TruthBullet truthBullet)
|
|
98
|
-
{
|
|
99
|
-
for (int i = 1; i < m.Groups.Count; i++)
|
|
100
|
-
{
|
|
101
|
-
var group = m.Groups[i];
|
|
102
|
-
|
|
103
|
-
var keyword = keys[i - 1];
|
|
104
|
-
|
|
105
|
-
switch (keyword)
|
|
106
|
-
{
|
|
107
|
-
case EvidenceKeywords.Name:
|
|
108
|
-
|
|
109
|
-
truthBullet.DisplayName = group.Value;
|
|
110
|
-
|
|
111
|
-
break;
|
|
112
|
-
|
|
113
|
-
case EvidenceKeywords.Description:
|
|
114
|
-
|
|
115
|
-
truthBullet.Description = group.Value.Replace("//", "").Replace("\n", "");
|
|
116
|
-
|
|
117
|
-
break;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
protected virtual void CreateTruthBullet(List<TruthBullet> evidenceToSave)
|
|
124
|
-
{
|
|
125
|
-
// Save the dialogue objects
|
|
126
|
-
string folder = FolderUtility.CreateIntermediateFolders(targetDirectory);
|
|
127
|
-
|
|
128
|
-
AssetDatabase.StartAssetEditing();
|
|
129
|
-
|
|
130
|
-
for (int i = 0; i < evidenceToSave.Count; i++)
|
|
131
|
-
{
|
|
132
|
-
TruthBullet tb = evidenceToSave[i];
|
|
133
|
-
|
|
134
|
-
string diaPath = folder + "/" + assetPrefix + tb.DisplayName.Replace(" ", "_") + ".asset";
|
|
135
|
-
|
|
136
|
-
AssetDatabase.CreateAsset(tb, diaPath);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
AssetDatabase.StopAssetEditing();
|
|
140
|
-
|
|
141
|
-
AssetDatabase.SaveAssets();
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
public enum EvidenceKeywords
|
|
146
|
-
{
|
|
147
|
-
Name, Description
|
|
148
|
-
}
|
|
149
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
#if UNITY_EDITOR
|
|
3
|
+
using DREditor.Dialogues;
|
|
4
|
+
using DREditor.Editor.Toolbox;
|
|
5
|
+
using DREditor.Editor.Utility;
|
|
6
|
+
using System.Collections.Generic;
|
|
7
|
+
using System.IO;
|
|
8
|
+
using System.Text.RegularExpressions;
|
|
9
|
+
using UnityEditor;
|
|
10
|
+
using UnityEngine;
|
|
11
|
+
|
|
12
|
+
namespace DREditor.Investigations.Editor
|
|
13
|
+
{
|
|
14
|
+
public class TruthBulletImporter : GenerateWizardBase
|
|
15
|
+
{
|
|
16
|
+
[Tooltip("")]
|
|
17
|
+
[TextArea(5, 10)]
|
|
18
|
+
[SerializeField] protected string textArea = "";
|
|
19
|
+
|
|
20
|
+
[Tooltip("")]
|
|
21
|
+
public string regexString = @"(.*?)(\r?\n//[\s\S]*?)(?=\r?\n\r?\n|\r?$)";
|
|
22
|
+
|
|
23
|
+
[Tooltip("")]
|
|
24
|
+
public EvidenceDatabase database;
|
|
25
|
+
|
|
26
|
+
[Tooltip("")]
|
|
27
|
+
public List<EvidenceKeywords> keys = new() { EvidenceKeywords.Name, EvidenceKeywords.Description, };
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
public TruthBulletImporter() : base(true) => assetPrefix = "Bullet_";
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
[MenuItem("DREditor/Import/Truth Bullets")]
|
|
34
|
+
public static void CreateWizard() => DisplayWizard<TruthBulletImporter>("Import TruthBullets", "Import");
|
|
35
|
+
|
|
36
|
+
protected override bool OnEnableWizardValid() => ImportValid();
|
|
37
|
+
|
|
38
|
+
protected override bool ImportValid()
|
|
39
|
+
{
|
|
40
|
+
database = DatabaseUtility.LoadDatabase<EvidenceDatabase>();
|
|
41
|
+
|
|
42
|
+
bool result = database != null || DatabaseUtility.TryCreateDatabaseAt("Resources/Evidence", out database);
|
|
43
|
+
|
|
44
|
+
if (!result &&
|
|
45
|
+
EditorUtility.DisplayDialog("Evidence Database was not specifid.",
|
|
46
|
+
"Please create and assign a Evidence Database and try again", "OK"))
|
|
47
|
+
Close();
|
|
48
|
+
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
protected override void Import()
|
|
53
|
+
{
|
|
54
|
+
List<TruthBullet> evidenceToSave = new();
|
|
55
|
+
|
|
56
|
+
if (string.IsNullOrEmpty(textArea) &&
|
|
57
|
+
EditorUtility.DisplayDialog("No Text Sent",
|
|
58
|
+
"Please paste the text to import in the text field.", "OK"))
|
|
59
|
+
return;
|
|
60
|
+
|
|
61
|
+
using StringReader reader = new(textArea);
|
|
62
|
+
|
|
63
|
+
Regex regex = new(regexString);
|
|
64
|
+
|
|
65
|
+
Line lastLine = null;
|
|
66
|
+
|
|
67
|
+
int currentLine = 0;
|
|
68
|
+
|
|
69
|
+
while (reader.ReadLine() is string line && line != null)
|
|
70
|
+
{
|
|
71
|
+
TruthBullet truthBullet = CreateInstance<TruthBullet>();
|
|
72
|
+
|
|
73
|
+
if (!line.Contains("//"))
|
|
74
|
+
while (reader.ReadLine() is string l && l.Contains("//"))
|
|
75
|
+
line += "\n" + l;
|
|
76
|
+
|
|
77
|
+
if (line.Trim().Length != 0)
|
|
78
|
+
{
|
|
79
|
+
if (regex.IsMatch(line))
|
|
80
|
+
{
|
|
81
|
+
MatchBullet(regex.Match(line), truthBullet);
|
|
82
|
+
|
|
83
|
+
evidenceToSave.Add(truthBullet);
|
|
84
|
+
}
|
|
85
|
+
else if (lastLine == null &&
|
|
86
|
+
EditorUtility.DisplayDialog("Format incorrect", "The file didn't comply with the format\n" +
|
|
87
|
+
"on line " + currentLine + " \n Line: " + line, "OK"))
|
|
88
|
+
return;
|
|
89
|
+
|
|
90
|
+
currentLine++;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
CreateTruthBullet(evidenceToSave);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
protected virtual void MatchBullet(Match m, TruthBullet truthBullet)
|
|
98
|
+
{
|
|
99
|
+
for (int i = 1; i < m.Groups.Count; i++)
|
|
100
|
+
{
|
|
101
|
+
var group = m.Groups[i];
|
|
102
|
+
|
|
103
|
+
var keyword = keys[i - 1];
|
|
104
|
+
|
|
105
|
+
switch (keyword)
|
|
106
|
+
{
|
|
107
|
+
case EvidenceKeywords.Name:
|
|
108
|
+
|
|
109
|
+
truthBullet.DisplayName = group.Value;
|
|
110
|
+
|
|
111
|
+
break;
|
|
112
|
+
|
|
113
|
+
case EvidenceKeywords.Description:
|
|
114
|
+
|
|
115
|
+
truthBullet.Description = group.Value.Replace("//", "").Replace("\n", "");
|
|
116
|
+
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
protected virtual void CreateTruthBullet(List<TruthBullet> evidenceToSave)
|
|
124
|
+
{
|
|
125
|
+
// Save the dialogue objects
|
|
126
|
+
string folder = FolderUtility.CreateIntermediateFolders(targetDirectory);
|
|
127
|
+
|
|
128
|
+
AssetDatabase.StartAssetEditing();
|
|
129
|
+
|
|
130
|
+
for (int i = 0; i < evidenceToSave.Count; i++)
|
|
131
|
+
{
|
|
132
|
+
TruthBullet tb = evidenceToSave[i];
|
|
133
|
+
|
|
134
|
+
string diaPath = folder + "/" + assetPrefix + tb.DisplayName.Replace(" ", "_") + ".asset";
|
|
135
|
+
|
|
136
|
+
AssetDatabase.CreateAsset(tb, diaPath);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
AssetDatabase.StopAssetEditing();
|
|
140
|
+
|
|
141
|
+
AssetDatabase.SaveAssets();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
public enum EvidenceKeywords
|
|
146
|
+
{
|
|
147
|
+
Name, Description
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
150
|
#endif
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 5b15c06ddb50477478b115285aadd073
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 5b15c06ddb50477478b115285aadd073
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/Editor.meta
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: d576ff3495a5aa74ea174b5c7826aa5e
|
|
3
|
-
folderAsset: yes
|
|
4
|
-
DefaultImporter:
|
|
5
|
-
externalObjects: {}
|
|
6
|
-
userData:
|
|
7
|
-
assetBundleName:
|
|
8
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: d576ff3495a5aa74ea174b5c7826aa5e
|
|
3
|
+
folderAsset: yes
|
|
4
|
+
DefaultImporter:
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
userData:
|
|
7
|
+
assetBundleName:
|
|
8
|
+
assetBundleVariant:
|
package/Evidence.cs
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
-
using System.Collections.Generic;
|
|
3
|
-
using UnityEngine;
|
|
4
|
-
|
|
5
|
-
namespace DREditor.Investigations
|
|
6
|
-
{
|
|
7
|
-
[System.Serializable]
|
|
8
|
-
[CreateAssetMenu(menuName = "DREditor/Investigations/Evidence", fileName = "Evidence")]
|
|
9
|
-
public class Evidence : ScriptableObject
|
|
10
|
-
{
|
|
11
|
-
public List<TruthBullet> TruthBullets = new();
|
|
12
|
-
|
|
13
|
-
public string[] ToStringArray()
|
|
14
|
-
{
|
|
15
|
-
string[] arr = new string[TruthBullets.Count];
|
|
16
|
-
|
|
17
|
-
for (int i = 0; i < TruthBullets.Count; i++)
|
|
18
|
-
{
|
|
19
|
-
arr[i] = TruthBullets[i].DisplayName;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return arr;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
public int[] TointArray()
|
|
26
|
-
{
|
|
27
|
-
int[] arr = new int[TruthBullets.Count];
|
|
28
|
-
|
|
29
|
-
for (int i = 0; i < TruthBullets.Count; i++)
|
|
30
|
-
{
|
|
31
|
-
arr[i] = i;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
return arr;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
public virtual TruthBullet GetBullet(string text)
|
|
38
|
-
{
|
|
39
|
-
for (int i = 0; i < TruthBullets.Count; i++)
|
|
40
|
-
{
|
|
41
|
-
TruthBullet t = TruthBullets[i];
|
|
42
|
-
|
|
43
|
-
if (text == t.DisplayName)
|
|
44
|
-
return t;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
UnityEngine.Debug.LogWarning("Couldn't find TruthBullet: " + text + " !");
|
|
48
|
-
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
|
|
5
|
+
namespace DREditor.Investigations
|
|
6
|
+
{
|
|
7
|
+
[System.Serializable]
|
|
8
|
+
[CreateAssetMenu(menuName = "DREditor/Investigations/Evidence", fileName = "Evidence")]
|
|
9
|
+
public class Evidence : ScriptableObject
|
|
10
|
+
{
|
|
11
|
+
public List<TruthBullet> TruthBullets = new();
|
|
12
|
+
|
|
13
|
+
public string[] ToStringArray()
|
|
14
|
+
{
|
|
15
|
+
string[] arr = new string[TruthBullets.Count];
|
|
16
|
+
|
|
17
|
+
for (int i = 0; i < TruthBullets.Count; i++)
|
|
18
|
+
{
|
|
19
|
+
arr[i] = TruthBullets[i].DisplayName;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return arr;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
public int[] TointArray()
|
|
26
|
+
{
|
|
27
|
+
int[] arr = new int[TruthBullets.Count];
|
|
28
|
+
|
|
29
|
+
for (int i = 0; i < TruthBullets.Count; i++)
|
|
30
|
+
{
|
|
31
|
+
arr[i] = i;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return arr;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public virtual TruthBullet GetBullet(string text)
|
|
38
|
+
{
|
|
39
|
+
for (int i = 0; i < TruthBullets.Count; i++)
|
|
40
|
+
{
|
|
41
|
+
TruthBullet t = TruthBullets[i];
|
|
42
|
+
|
|
43
|
+
if (text == t.DisplayName)
|
|
44
|
+
return t;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
UnityEngine.Debug.LogWarning("Couldn't find TruthBullet: " + text + " !");
|
|
48
|
+
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
52
|
}
|
package/Evidence.cs.meta
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 6b0e49956974f554081a2e2e3d21fabf
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 6b0e49956974f554081a2e2e3d21fabf
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/EvidenceDatabase.cs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
-
using System.Collections.Generic;
|
|
3
|
-
using UnityEngine;
|
|
4
|
-
|
|
5
|
-
namespace DREditor.Investigations
|
|
6
|
-
{
|
|
7
|
-
[System.Serializable]
|
|
8
|
-
[CreateAssetMenu(menuName = "DREditor/Investigations/Evidence Database", fileName = "EvidenceDatabase")]
|
|
9
|
-
public class EvidenceDatabase : ScriptableObject
|
|
10
|
-
{
|
|
11
|
-
public List<Evidence> Evidences = new();
|
|
12
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
|
|
5
|
+
namespace DREditor.Investigations
|
|
6
|
+
{
|
|
7
|
+
[System.Serializable]
|
|
8
|
+
[CreateAssetMenu(menuName = "DREditor/Investigations/Evidence Database", fileName = "EvidenceDatabase")]
|
|
9
|
+
public class EvidenceDatabase : ScriptableObject
|
|
10
|
+
{
|
|
11
|
+
public List<Evidence> Evidences = new();
|
|
12
|
+
}
|
|
13
13
|
}
|
package/EvidenceDatabase.cs.meta
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: f16d740d7e00a3e4fbc0c5ddbe354de3
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: f16d740d7e00a3e4fbc0c5ddbe354de3
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/ITruthBulletData.cs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//Rework Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
-
using DREditor.Items;
|
|
3
|
-
|
|
4
|
-
namespace DREditor.Investigations
|
|
5
|
-
{
|
|
6
|
-
/// <summary>
|
|
7
|
-
///
|
|
8
|
-
/// </summary>
|
|
9
|
-
public interface ITruthBulletData : IItemAttribute { }
|
|
1
|
+
//Rework Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
+
using DREditor.Items;
|
|
3
|
+
|
|
4
|
+
namespace DREditor.Investigations
|
|
5
|
+
{
|
|
6
|
+
/// <summary>
|
|
7
|
+
///
|
|
8
|
+
/// </summary>
|
|
9
|
+
public interface ITruthBulletData : IItemAttribute { }
|
|
10
10
|
}
|
package/ITruthBulletData.cs.meta
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
1
|
+
fileFormatVersion: 2
|
|
2
2
|
guid: b69433a0cf68c784bbcbe2fe1380a3fd
|
package/TruthBullet.cs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
//Truth Bullet script assumed to be made Author: SeleniumSoul for DREditor.
|
|
2
|
-
//Rework Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
3
|
-
using DREditor.Items;
|
|
4
|
-
using UnityEngine;
|
|
5
|
-
|
|
6
|
-
namespace DREditor.Investigations
|
|
7
|
-
{
|
|
8
|
-
[System.Serializable]
|
|
9
|
-
[CreateAssetMenu(menuName = "DREditor/Investigations/Truth Bullet", fileName = "New Truth Bullet")]
|
|
10
|
-
public class TruthBullet : AttributableInventoryItem<ITruthBulletData> { }
|
|
1
|
+
//Truth Bullet script assumed to be made Author: SeleniumSoul for DREditor.
|
|
2
|
+
//Rework Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
3
|
+
using DREditor.Items;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
|
|
6
|
+
namespace DREditor.Investigations
|
|
7
|
+
{
|
|
8
|
+
[System.Serializable]
|
|
9
|
+
[CreateAssetMenu(menuName = "DREditor/Investigations/Truth Bullet", fileName = "New Truth Bullet")]
|
|
10
|
+
public class TruthBullet : AttributableInventoryItem<ITruthBulletData> { }
|
|
11
11
|
}
|
package/TruthBullet.cs.meta
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: de72c192eb4fd124faf13ef1035958be
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: de72c192eb4fd124faf13ef1035958be
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/TruthBulletGet.cs
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
-
using System;
|
|
3
|
-
using UnityEngine;
|
|
4
|
-
using DREditor.Dialogues.Events;
|
|
5
|
-
using DREditor.Processables;
|
|
6
|
-
#if UNITY_EDITOR
|
|
7
|
-
using UnityEditor;
|
|
8
|
-
#endif
|
|
9
|
-
|
|
10
|
-
namespace DREditor.Investigations
|
|
11
|
-
{
|
|
12
|
-
[UnityEngine.Scripting.APIUpdating.MovedFrom(true, sourceAssembly:"DREditor", sourceNamespace: "DREditor.Dialogues.Events")]
|
|
13
|
-
[Serializable]
|
|
14
|
-
public class TruthBulletGet : IDisplayableDialogueEvent
|
|
15
|
-
{
|
|
16
|
-
public bool _showHelp = false;
|
|
17
|
-
|
|
18
|
-
public TruthBullet truthBullet;
|
|
19
|
-
public int pieceIndex;
|
|
20
|
-
|
|
21
|
-
public void TriggerDialogueEvent()
|
|
22
|
-
{
|
|
23
|
-
DialogueEventSystem.TriggerEvent("TruthBulletGet", this);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
#if UNITY_EDITOR
|
|
27
|
-
public void EditorUI(object value = null)
|
|
28
|
-
{
|
|
29
|
-
truthBullet = (TruthBullet)EditorGUILayout
|
|
30
|
-
.ObjectField(
|
|
31
|
-
new GUIContent("Show what bullet?", "Choose which Truth bullet to display."),
|
|
32
|
-
truthBullet,
|
|
33
|
-
typeof(TruthBullet), false);
|
|
34
|
-
|
|
35
|
-
if (truthBullet != null && truthBullet.OfType<IBuildableDescription>() is IBuildableDescription collection)
|
|
36
|
-
pieceIndex = IntDrop(pieceIndex, collection.GetFragmentNames());
|
|
37
|
-
else
|
|
38
|
-
pieceIndex = -1;
|
|
39
|
-
}
|
|
40
|
-
public void ToggleHelpBox()
|
|
41
|
-
{
|
|
42
|
-
_showHelp = !_showHelp;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
public void ShowHelpBox()
|
|
46
|
-
{
|
|
47
|
-
if (_showHelp) EditorGUILayout.HelpBox("Adds the truth bullet to the players found truth bullets.", MessageType.Info, true);
|
|
48
|
-
}
|
|
49
|
-
public static int IntDrop(int index, string[] arr, float maxWidth = 130)
|
|
50
|
-
{
|
|
51
|
-
var prependedArray = EditorContainerUtil.PrependedList(arr, "None");
|
|
52
|
-
index = EditorGUILayout.IntPopup(index, prependedArray,
|
|
53
|
-
EditorContainerUtil.Iota(prependedArray.Length, -1), GUILayout.MaxWidth(maxWidth));
|
|
54
|
-
return index;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
#endif
|
|
58
|
-
}
|
|
59
|
-
#if UNITY_EDITOR
|
|
60
|
-
/// <summary>
|
|
61
|
-
///
|
|
62
|
-
/// </summary>
|
|
63
|
-
public static class EditorContainerUtil
|
|
64
|
-
{
|
|
65
|
-
public static int[] Iota(int size, int value = 0)
|
|
66
|
-
{
|
|
67
|
-
int[] values = new int[size];
|
|
68
|
-
for (int i = 0; i < values.Length; i++)
|
|
69
|
-
{
|
|
70
|
-
values[i] = value++;
|
|
71
|
-
}
|
|
72
|
-
return values;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
public static T[] PrependedList<T>(T[] list, T firstElement)
|
|
76
|
-
{
|
|
77
|
-
T[] newList = new T[list.Length + 1];
|
|
78
|
-
newList[0] = firstElement;
|
|
79
|
-
for (int i = 0; i < list.Length; i++)
|
|
80
|
-
{
|
|
81
|
-
newList[i + 1] = list[i];
|
|
82
|
-
}
|
|
83
|
-
return newList;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
#endif
|
|
87
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For DREditor
|
|
2
|
+
using System;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
using DREditor.Dialogues.Events;
|
|
5
|
+
using DREditor.Processables;
|
|
6
|
+
#if UNITY_EDITOR
|
|
7
|
+
using UnityEditor;
|
|
8
|
+
#endif
|
|
9
|
+
|
|
10
|
+
namespace DREditor.Investigations
|
|
11
|
+
{
|
|
12
|
+
[UnityEngine.Scripting.APIUpdating.MovedFrom(true, sourceAssembly:"DREditor", sourceNamespace: "DREditor.Dialogues.Events")]
|
|
13
|
+
[Serializable]
|
|
14
|
+
public class TruthBulletGet : IDisplayableDialogueEvent
|
|
15
|
+
{
|
|
16
|
+
public bool _showHelp = false;
|
|
17
|
+
|
|
18
|
+
public TruthBullet truthBullet;
|
|
19
|
+
public int pieceIndex;
|
|
20
|
+
|
|
21
|
+
public void TriggerDialogueEvent()
|
|
22
|
+
{
|
|
23
|
+
DialogueEventSystem.TriggerEvent("TruthBulletGet", this);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
#if UNITY_EDITOR
|
|
27
|
+
public void EditorUI(object value = null)
|
|
28
|
+
{
|
|
29
|
+
truthBullet = (TruthBullet)EditorGUILayout
|
|
30
|
+
.ObjectField(
|
|
31
|
+
new GUIContent("Show what bullet?", "Choose which Truth bullet to display."),
|
|
32
|
+
truthBullet,
|
|
33
|
+
typeof(TruthBullet), false);
|
|
34
|
+
|
|
35
|
+
if (truthBullet != null && truthBullet.OfType<IBuildableDescription>() is IBuildableDescription collection)
|
|
36
|
+
pieceIndex = IntDrop(pieceIndex, collection.GetFragmentNames());
|
|
37
|
+
else
|
|
38
|
+
pieceIndex = -1;
|
|
39
|
+
}
|
|
40
|
+
public void ToggleHelpBox()
|
|
41
|
+
{
|
|
42
|
+
_showHelp = !_showHelp;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public void ShowHelpBox()
|
|
46
|
+
{
|
|
47
|
+
if (_showHelp) EditorGUILayout.HelpBox("Adds the truth bullet to the players found truth bullets.", MessageType.Info, true);
|
|
48
|
+
}
|
|
49
|
+
public static int IntDrop(int index, string[] arr, float maxWidth = 130)
|
|
50
|
+
{
|
|
51
|
+
var prependedArray = EditorContainerUtil.PrependedList(arr, "None");
|
|
52
|
+
index = EditorGUILayout.IntPopup(index, prependedArray,
|
|
53
|
+
EditorContainerUtil.Iota(prependedArray.Length, -1), GUILayout.MaxWidth(maxWidth));
|
|
54
|
+
return index;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#endif
|
|
58
|
+
}
|
|
59
|
+
#if UNITY_EDITOR
|
|
60
|
+
/// <summary>
|
|
61
|
+
///
|
|
62
|
+
/// </summary>
|
|
63
|
+
public static class EditorContainerUtil
|
|
64
|
+
{
|
|
65
|
+
public static int[] Iota(int size, int value = 0)
|
|
66
|
+
{
|
|
67
|
+
int[] values = new int[size];
|
|
68
|
+
for (int i = 0; i < values.Length; i++)
|
|
69
|
+
{
|
|
70
|
+
values[i] = value++;
|
|
71
|
+
}
|
|
72
|
+
return values;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
public static T[] PrependedList<T>(T[] list, T firstElement)
|
|
76
|
+
{
|
|
77
|
+
T[] newList = new T[list.Length + 1];
|
|
78
|
+
newList[0] = firstElement;
|
|
79
|
+
for (int i = 0; i < list.Length; i++)
|
|
80
|
+
{
|
|
81
|
+
newList[i + 1] = list[i];
|
|
82
|
+
}
|
|
83
|
+
return newList;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
#endif
|
|
87
|
+
}
|
package/TruthBulletGet.cs.meta
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 4dd9022ba73347a4192da096a6873846
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4dd9022ba73347a4192da096a6873846
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/package.json
CHANGED
|
@@ -1,34 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "net.dreditor.investigations",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"displayName": "DREditor Investigations",
|
|
5
|
-
"description": "The beta for DREditor. A tool to create death game style projects without having to code.",
|
|
6
|
-
"unity": "6000.4",
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"net.dreditor.core": "0.1.
|
|
9
|
-
},
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
"access": "public"
|
|
12
|
-
},
|
|
13
|
-
"author": {
|
|
14
|
-
"name": "Benjamin \"Sweden\" Jillson",
|
|
15
|
-
"email": "dreditortool@gmail.com",
|
|
16
|
-
"url": "https://dreditor.net"
|
|
17
|
-
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"editor",
|
|
20
|
-
"tool",
|
|
21
|
-
"dreditor"
|
|
22
|
-
],
|
|
23
|
-
"samples": [
|
|
24
|
-
{
|
|
25
|
-
"displayName": "Samples",
|
|
26
|
-
"description": "",
|
|
27
|
-
"path": "Samples~"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"documentationUrl": "https://dreditor.net",
|
|
31
|
-
"license": "Apache-2.0",
|
|
32
|
-
"licensesUrl": "https://dreditor.net/docs/LICENSE.html",
|
|
33
|
-
"changelogUrl": "https://dreditor.net/docs/CHANGELOG.html"
|
|
34
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "net.dreditor.investigations",
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"displayName": "DREditor Investigations",
|
|
5
|
+
"description": "The beta for DREditor. A tool to create death game style projects without having to code.",
|
|
6
|
+
"unity": "6000.4",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"net.dreditor.core": "0.1.8"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Benjamin \"Sweden\" Jillson",
|
|
15
|
+
"email": "dreditortool@gmail.com",
|
|
16
|
+
"url": "https://dreditor.net"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"editor",
|
|
20
|
+
"tool",
|
|
21
|
+
"dreditor"
|
|
22
|
+
],
|
|
23
|
+
"samples": [
|
|
24
|
+
{
|
|
25
|
+
"displayName": "Samples",
|
|
26
|
+
"description": "",
|
|
27
|
+
"path": "Samples~"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"documentationUrl": "https://dreditor.net",
|
|
31
|
+
"license": "Apache-2.0",
|
|
32
|
+
"licensesUrl": "https://dreditor.net/docs/LICENSE.html",
|
|
33
|
+
"changelogUrl": "https://dreditor.net/docs/CHANGELOG.html",
|
|
34
|
+
"repository": {
|
|
35
|
+
"url": "https://github.com/CertifiedSharp/DREditor",
|
|
36
|
+
"type": "git",
|
|
37
|
+
"revision": "416b18f937fb917bf3f595362a1082ed97457744"
|
|
38
|
+
}
|
|
39
|
+
}
|
package/package.json.meta
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 872f1a4b04c4d624eb9443de426b3bca
|
|
3
|
-
TextScriptImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 872f1a4b04c4d624eb9443de426b3bca
|
|
3
|
+
TextScriptImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|