net.dreditor.minigames.nsd 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.
Files changed (101) hide show
  1. package/.attestation.p7m +0 -0
  2. package/DREditor.Minigames.NSD.asmdef +37 -37
  3. package/DREditor.Minigames.NSD.asmdef.meta +7 -7
  4. package/Editor/DREditor.Minigames.NSD.Editor.asmdef +23 -23
  5. package/Editor/DREditor.Minigames.NSD.Editor.asmdef.meta +7 -7
  6. package/Editor/MenuItemNSDUtility.cs +127 -127
  7. package/Editor/MenuItemNSDUtility.cs.meta +11 -11
  8. package/Editor/NSDBuilderEditor.cs +184 -184
  9. package/Editor/NSDBuilderEditor.cs.meta +11 -11
  10. package/Editor.meta +8 -8
  11. package/Managers/ManuallyRenderCamera.cs +39 -39
  12. package/Managers/ManuallyRenderCamera.cs.meta +11 -11
  13. package/Managers/NSDBuilder.cs +56 -56
  14. package/Managers/NSDBuilder.cs.meta +11 -11
  15. package/Managers/NSDBulletLoadAnimation.cs +339 -339
  16. package/Managers/NSDBulletLoadAnimation.cs.meta +11 -11
  17. package/Managers/NSDIntro.cs +257 -257
  18. package/Managers/NSDIntro.cs.meta +11 -11
  19. package/Managers/NSDManager.cs +121 -121
  20. package/Managers/NSDManager.cs.meta +11 -11
  21. package/Managers/NSDReticle.cs +233 -233
  22. package/Managers/NSDReticle.cs.meta +11 -11
  23. package/Managers/OverlayBlend.shader +55 -55
  24. package/Managers/OverlayBlend.shader.meta +10 -10
  25. package/Managers.meta +8 -8
  26. package/{Samples → Samples~}/Absorb_Bullet_Mode_Mechanic_Template.prefab +939 -939
  27. package/{Samples → Samples~}/Absorb_Bullet_Mode_Mechanic_Template.prefab.meta +7 -7
  28. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDReticleHover.anim +179 -179
  29. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDReticleHover.anim.meta +8 -8
  30. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDReticleShow.anim +116 -116
  31. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDReticleShow.anim.meta +8 -8
  32. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDReticleSpin.anim +199 -199
  33. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDReticleSpin.anim.meta +8 -8
  34. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDUIRingLoop.anim +345 -345
  35. package/{Samples → Samples~}/Animations/NSD_Reticle/NSDUIRingLoop.anim.meta +8 -8
  36. package/{Samples → Samples~}/Animations/NSD_Reticle/Reticle.controller +835 -835
  37. package/{Samples → Samples~}/Animations/NSD_Reticle/Reticle.controller.meta +8 -8
  38. package/{Samples → Samples~}/Animations/NSD_Reticle.meta +8 -8
  39. package/{Samples → Samples~}/Animations/NSD_Selection/NSDSelectionPieces.anim +791 -791
  40. package/{Samples → Samples~}/Animations/NSD_Selection/NSDSelectionPieces.anim.meta +8 -8
  41. package/{Samples → Samples~}/Animations/NSD_Selection/Selection UI.controller +130 -130
  42. package/{Samples → Samples~}/Animations/NSD_Selection/Selection UI.controller.meta +8 -8
  43. package/{Samples → Samples~}/Animations/NSD_Selection.meta +8 -8
  44. package/{Samples → Samples~}/Animations.meta +8 -8
  45. package/{Samples → Samples~}/Bullet_Canvas_Shell.prefab +193 -193
  46. package/{Samples → Samples~}/Bullet_Canvas_Shell.prefab.meta +7 -7
  47. package/{Samples → Samples~}/Bullet_Canvas_Template.prefab +348 -348
  48. package/{Samples → Samples~}/Bullet_Canvas_Template.prefab.meta +7 -7
  49. package/{Samples → Samples~}/Bullet_Chamber_Shell.prefab +178 -178
  50. package/{Samples → Samples~}/Bullet_Chamber_Shell.prefab.meta +7 -7
  51. package/{Samples → Samples~}/Bullet_Chamber_Template.prefab +280 -280
  52. package/{Samples → Samples~}/Bullet_Chamber_Template.prefab.meta +7 -7
  53. package/{Samples → Samples~}/Bullet_UI_Parent_Shell.prefab +38 -38
  54. package/{Samples → Samples~}/Bullet_UI_Parent_Shell.prefab.meta +7 -7
  55. package/{Samples → Samples~}/Bullet_UI_Parent_Template.prefab +510 -510
  56. package/{Samples → Samples~}/Bullet_UI_Parent_Template.prefab.meta +7 -7
  57. package/{Samples → Samples~}/Can_Absorb_Condition.prefab +61 -61
  58. package/{Samples → Samples~}/Can_Absorb_Condition.prefab.meta +7 -7
  59. package/{Samples → Samples~}/Debate_Controls_UI_Condition.prefab +56 -56
  60. package/{Samples → Samples~}/Debate_Controls_UI_Condition.prefab.meta +7 -7
  61. package/{Samples → Samples~}/Debate_Text_Camera.prefab +125 -125
  62. package/{Samples → Samples~}/Debate_Text_Camera.prefab.meta +7 -7
  63. package/{Samples → Samples~}/Debate_Text_Texture.prefab +119 -119
  64. package/{Samples → Samples~}/Debate_Text_Texture.prefab.meta +7 -7
  65. package/{Samples → Samples~}/Firing_Bullet_Texture.prefab +75 -75
  66. package/{Samples → Samples~}/Firing_Bullet_Texture.prefab.meta +7 -7
  67. package/{Samples → Samples~}/Load_Bullet_ETemplate.prefab +343 -343
  68. package/{Samples → Samples~}/Load_Bullet_ETemplate.prefab.meta +7 -7
  69. package/{Samples → Samples~}/Loading_Bullet_Canvas_ETemplate.prefab +405 -405
  70. package/{Samples → Samples~}/Loading_Bullet_Canvas_ETemplate.prefab.meta +7 -7
  71. package/{Samples → Samples~}/NSDUICameraEnabled.asset +21 -21
  72. package/{Samples → Samples~}/NSDUICameraEnabled.asset.meta +8 -8
  73. package/{Samples → Samples~}/NSD_Controls_UI_Handler.prefab +168 -168
  74. package/{Samples → Samples~}/NSD_Controls_UI_Handler.prefab.meta +7 -7
  75. package/{Samples → Samples~}/NSD_Intro_Canvas_ETemplate.prefab +272 -272
  76. package/{Samples → Samples~}/NSD_Intro_Canvas_ETemplate.prefab.meta +7 -7
  77. package/{Samples → Samples~}/NSD_Intro_Shell.prefab +60 -60
  78. package/{Samples → Samples~}/NSD_Intro_Shell.prefab.meta +7 -7
  79. package/{Samples → Samples~}/NSD_Intro_Template.prefab +248 -248
  80. package/{Samples → Samples~}/NSD_Intro_Template.prefab.meta +7 -7
  81. package/{Samples → Samples~}/NSD_Line_Manager.prefab +271 -271
  82. package/{Samples → Samples~}/NSD_Line_Manager.prefab.meta +7 -7
  83. package/{Samples → Samples~}/NSD_Manager_Shell.prefab +313 -313
  84. package/{Samples → Samples~}/NSD_Manager_Shell.prefab.meta +7 -7
  85. package/{Samples → Samples~}/NSD_Manager_Template.prefab +2078 -2078
  86. package/{Samples → Samples~}/NSD_Manager_Template.prefab.meta +7 -7
  87. package/{Samples → Samples~}/NSD_Reticle_ETemplate.prefab +314 -314
  88. package/{Samples → Samples~}/NSD_Reticle_ETemplate.prefab.meta +7 -7
  89. package/{Samples → Samples~}/NSD_UI_Camera.prefab +158 -158
  90. package/{Samples → Samples~}/NSD_UI_Camera.prefab.meta +7 -7
  91. package/{Samples → Samples~}/NSD_UI_Canvas_Shell.prefab +481 -481
  92. package/{Samples → Samples~}/NSD_UI_Canvas_Shell.prefab.meta +7 -7
  93. package/{Samples → Samples~}/NSD_UI_Canvas_Template.prefab +603 -603
  94. package/{Samples → Samples~}/NSD_UI_Canvas_Template.prefab.meta +7 -7
  95. package/{Samples → Samples~}/NSD_UI_Texture.prefab +75 -75
  96. package/{Samples → Samples~}/NSD_UI_Texture.prefab.meta +7 -7
  97. package/{Samples → Samples~}/White Noise Triangle Shatter.asset +31 -31
  98. package/{Samples → Samples~}/White Noise Triangle Shatter.asset.meta +8 -8
  99. package/package.json +57 -52
  100. package/package.json.meta +7 -7
  101. package/Samples.meta +0 -8
@@ -1,185 +1,185 @@
1
- //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
- using DREditor.Dialogues;
3
- using DREditor.Editor;
4
- using DREditor.Editor.Dialogues;
5
- using DREditor.Minigames.Debates;
6
- using DREditor.Minigames.Debates.Editor;
7
- using DREditor.Minigames.NSD.Managers;
8
- using DREditor.Editor.Utility;
9
- using UnityEditor;
10
- using UnityEngine;
11
-
12
- namespace DREditor.Minigames.NSD.Editor
13
- {
14
- /// <summary>
15
- ///
16
- /// </summary>
17
- [CustomEditor(typeof(NSDBuilder))]
18
- public class NSDBuilderEditor : DebateTypeEditor<Panel>
19
- {
20
- /// <summary>
21
- ///
22
- /// </summary>
23
- protected NSDBuilder builder;
24
-
25
- /// <summary>
26
- ///
27
- /// </summary>
28
- protected BulletDifficultyEditor bulletDifficultyEditor;
29
-
30
- /// <summary>
31
- ///
32
- /// </summary>
33
- protected TimedDifficultyEditor timerDifficultyEditor;
34
-
35
- /// <summary>
36
- ///
37
- /// </summary>
38
- protected readonly PanelLineEditor<Panel> lineEditor = new();
39
-
40
- /// <summary>
41
- ///
42
- /// </summary>
43
- protected readonly TrialDialogueDebugToolEditor<Panel> debugTool = new();
44
-
45
- /// <summary>
46
- ///
47
- /// </summary>
48
- protected readonly int guiSpacing = 10;
49
-
50
-
51
- protected override LineEditorBase LineEditor { get => lineEditor; }
52
-
53
- protected override DialogueDebugToolEditorBase DebugTool { get => debugTool; }
54
-
55
-
56
- protected virtual void OnEnable()
57
- {
58
- bulletDifficultyEditor = new();
59
-
60
- timerDifficultyEditor = new();
61
-
62
- SetDialogue(target as NSDBuilder);
63
-
64
- lineEditor.Initialize(dia, serializedObject, this);
65
- }
66
-
67
- /// <inheritdoc/>
68
- protected override void SetDialogue(DialogueBase<Panel> dia)
69
- {
70
- base.SetDialogue(dia);
71
-
72
- builder = dia as NSDBuilder;
73
- }
74
-
75
- /// <inheritdoc/>
76
- protected override bool DatabasesAreValid()
77
- {
78
- if (!base.DatabasesAreValid())
79
- return false;
80
-
81
- if (EditPanelMode)
82
- lineEditor.EditPanelModeWindow(dia.Lines[editPanelNum]);
83
-
84
- return !EditPanelMode;
85
- }
86
-
87
- /// <inheritdoc/>
88
- protected override void SetWordWrappingColor()
89
- {
90
- base.SetWordWrappingColor();
91
-
92
- CheckPanelMode();
93
-
94
- DisplayBuilder();
95
- }
96
-
97
- /// <summary>
98
- ///
99
- /// </summary>
100
- protected virtual void CheckPanelMode()
101
- {
102
- if (!EditPanelMode)
103
- {
104
- for (int i = 0; i < dia.Lines.Count; i++)
105
- {
106
- if (dia.Lines[i].Edit)
107
- {
108
- EditPanelMode = true;
109
-
110
- EditPanelNum = i;
111
- }
112
- }
113
- }
114
- }
115
-
116
- /// <summary>
117
- ///
118
- /// </summary>
119
- protected virtual void DisplayBuilder()
120
- {
121
- if (lineEditor.TestLine == -1)
122
- DisplayDebateSpecifics();
123
- }
124
-
125
- /// <summary>
126
- ///
127
- /// </summary>
128
- protected virtual void DisplayDebateSpecifics()
129
- {
130
- GUILayout.Space(guiSpacing);
131
-
132
- DisplayStartingMusic();
133
-
134
- GUILayout.Space(guiSpacing);
135
-
136
- DisplayDifficultyEditors();
137
-
138
- GUILayout.Space(guiSpacing);
139
-
140
- DisplayEndDialogue();
141
-
142
- GUILayout.Space(guiSpacing);
143
-
144
- DisplaySkipField();
145
-
146
- GUILayout.Space(guiSpacing);
147
- }
148
-
149
- /// <summary>
150
- ///
151
- /// </summary>
152
- protected virtual void DisplayDifficultyEditors()
153
- {
154
- using (new EditorGUILayout.VerticalScope("Box"))
155
- timerDifficultyEditor.DisplaySettings(builder.times);
156
-
157
- using (new EditorGUILayout.VerticalScope("Box"))
158
- if (evidenceDatabase.Evidences[builder.trialNumber] != null)
159
- bulletDifficultyEditor?.DisplaySettings(builder.TruthBullets, ref builder.trialNumber);
160
- }
161
-
162
- /// <summary>
163
- ///
164
- /// </summary>
165
- protected virtual void DisplayEndDialogue()
166
- {
167
- using (new EditorGUILayout.HorizontalScope())
168
- {
169
- EditorGUILayout.LabelField("Ending Panel Group Dialogue :", GUILayout.Width(180));
170
-
171
- builder.EndDialogue = HandyFields.UnityField(builder.EndDialogue, 170, 20);
172
- }
173
- }
174
-
175
- /// <summary>
176
- ///
177
- /// </summary>
178
- protected virtual void DisplaySkipField()
179
- {
180
- if (lineEditor.TestLine == -1)
181
- builder.Skip = HandyFields.IntField(new GUIContent("Skip:",
182
- "Amount of trial sequences to be skipped when this minigame completes."), builder.Skip);
183
- }
184
- }
1
+ //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
+ using DREditor.Dialogues;
3
+ using DREditor.Editor;
4
+ using DREditor.Editor.Dialogues;
5
+ using DREditor.Minigames.Debates;
6
+ using DREditor.Minigames.Debates.Editor;
7
+ using DREditor.Minigames.NSD.Managers;
8
+ using DREditor.Editor.Utility;
9
+ using UnityEditor;
10
+ using UnityEngine;
11
+
12
+ namespace DREditor.Minigames.NSD.Editor
13
+ {
14
+ /// <summary>
15
+ ///
16
+ /// </summary>
17
+ [CustomEditor(typeof(NSDBuilder))]
18
+ public class NSDBuilderEditor : DebateTypeEditor<Panel>
19
+ {
20
+ /// <summary>
21
+ ///
22
+ /// </summary>
23
+ protected NSDBuilder builder;
24
+
25
+ /// <summary>
26
+ ///
27
+ /// </summary>
28
+ protected BulletDifficultyEditor bulletDifficultyEditor;
29
+
30
+ /// <summary>
31
+ ///
32
+ /// </summary>
33
+ protected TimedDifficultyEditor timerDifficultyEditor;
34
+
35
+ /// <summary>
36
+ ///
37
+ /// </summary>
38
+ protected readonly PanelLineEditor<Panel> lineEditor = new();
39
+
40
+ /// <summary>
41
+ ///
42
+ /// </summary>
43
+ protected readonly TrialDialogueDebugToolEditor<Panel> debugTool = new();
44
+
45
+ /// <summary>
46
+ ///
47
+ /// </summary>
48
+ protected readonly int guiSpacing = 10;
49
+
50
+
51
+ protected override LineEditorBase LineEditor { get => lineEditor; }
52
+
53
+ protected override DialogueDebugToolEditorBase DebugTool { get => debugTool; }
54
+
55
+
56
+ protected virtual void OnEnable()
57
+ {
58
+ bulletDifficultyEditor = new();
59
+
60
+ timerDifficultyEditor = new();
61
+
62
+ SetDialogue(target as NSDBuilder);
63
+
64
+ lineEditor.Initialize(dia, serializedObject, this);
65
+ }
66
+
67
+ /// <inheritdoc/>
68
+ protected override void SetDialogue(DialogueBase<Panel> dia)
69
+ {
70
+ base.SetDialogue(dia);
71
+
72
+ builder = dia as NSDBuilder;
73
+ }
74
+
75
+ /// <inheritdoc/>
76
+ protected override bool DatabasesAreValid()
77
+ {
78
+ if (!base.DatabasesAreValid())
79
+ return false;
80
+
81
+ if (EditPanelMode)
82
+ lineEditor.EditPanelModeWindow(dia.Lines[editPanelNum]);
83
+
84
+ return !EditPanelMode;
85
+ }
86
+
87
+ /// <inheritdoc/>
88
+ protected override void SetWordWrappingColor()
89
+ {
90
+ base.SetWordWrappingColor();
91
+
92
+ CheckPanelMode();
93
+
94
+ DisplayBuilder();
95
+ }
96
+
97
+ /// <summary>
98
+ ///
99
+ /// </summary>
100
+ protected virtual void CheckPanelMode()
101
+ {
102
+ if (!EditPanelMode)
103
+ {
104
+ for (int i = 0; i < dia.Lines.Count; i++)
105
+ {
106
+ if (dia.Lines[i].Edit)
107
+ {
108
+ EditPanelMode = true;
109
+
110
+ EditPanelNum = i;
111
+ }
112
+ }
113
+ }
114
+ }
115
+
116
+ /// <summary>
117
+ ///
118
+ /// </summary>
119
+ protected virtual void DisplayBuilder()
120
+ {
121
+ if (lineEditor.TestLine == -1)
122
+ DisplayDebateSpecifics();
123
+ }
124
+
125
+ /// <summary>
126
+ ///
127
+ /// </summary>
128
+ protected virtual void DisplayDebateSpecifics()
129
+ {
130
+ GUILayout.Space(guiSpacing);
131
+
132
+ DisplayStartingMusic();
133
+
134
+ GUILayout.Space(guiSpacing);
135
+
136
+ DisplayDifficultyEditors();
137
+
138
+ GUILayout.Space(guiSpacing);
139
+
140
+ DisplayEndDialogue();
141
+
142
+ GUILayout.Space(guiSpacing);
143
+
144
+ DisplaySkipField();
145
+
146
+ GUILayout.Space(guiSpacing);
147
+ }
148
+
149
+ /// <summary>
150
+ ///
151
+ /// </summary>
152
+ protected virtual void DisplayDifficultyEditors()
153
+ {
154
+ using (new EditorGUILayout.VerticalScope("Box"))
155
+ timerDifficultyEditor.DisplaySettings(builder.times);
156
+
157
+ using (new EditorGUILayout.VerticalScope("Box"))
158
+ if (evidenceDatabase.Evidences[builder.trialNumber] != null)
159
+ bulletDifficultyEditor?.DisplaySettings(builder.TruthBullets, ref builder.trialNumber);
160
+ }
161
+
162
+ /// <summary>
163
+ ///
164
+ /// </summary>
165
+ protected virtual void DisplayEndDialogue()
166
+ {
167
+ using (new EditorGUILayout.HorizontalScope())
168
+ {
169
+ EditorGUILayout.LabelField("Ending Panel Group Dialogue :", GUILayout.Width(180));
170
+
171
+ builder.EndDialogue = HandyFields.UnityField(builder.EndDialogue, 170, 20);
172
+ }
173
+ }
174
+
175
+ /// <summary>
176
+ ///
177
+ /// </summary>
178
+ protected virtual void DisplaySkipField()
179
+ {
180
+ if (lineEditor.TestLine == -1)
181
+ builder.Skip = HandyFields.IntField(new GUIContent("Skip:",
182
+ "Amount of trial sequences to be skipped when this minigame completes."), builder.Skip);
183
+ }
184
+ }
185
185
  }
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: 39e21de51f0380d4cafdbcfc03391cdb
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: 39e21de51f0380d4cafdbcfc03391cdb
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: 97ee07c31314bb4489ee8e1e8f955fd8
3
- folderAsset: yes
4
- DefaultImporter:
5
- externalObjects: {}
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
1
+ fileFormatVersion: 2
2
+ guid: 97ee07c31314bb4489ee8e1e8f955fd8
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -1,40 +1,40 @@
1
- //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
- using DREditor.EventObjects;
3
- using UnityEngine;
4
-
5
- namespace DREditor.Minigames.NSD.Managers
6
- {
7
- [RequireComponent(typeof(UnityEngine.Camera))]
8
- [ClassHeader("Manually renders the camera through this monobehaviour." +
9
- "\nRequires Component: " + nameof(UnityEngine.Camera) +
10
- "\n\n")]
11
- public class ManuallyRenderCamera : MonoBehaviour
12
- {
13
- /// <summary>
14
- ///
15
- /// </summary>
16
- [Tooltip("")]
17
- [SerializeField] protected BoolWithEvent cameraEnabled = null;
18
-
19
-
20
- /// <summary>
21
- ///
22
- /// </summary>
23
- protected UnityEngine.Camera renderCamera;
24
-
25
-
26
- protected virtual void Awake()
27
- {
28
- renderCamera = GetComponent<UnityEngine.Camera>();
29
-
30
- cameraEnabled.SetValue(false);
31
- }
32
-
33
-
34
- protected virtual void Update()
35
- {
36
- if (renderCamera != null)
37
- renderCamera.Render();
38
- }
39
- }
1
+ //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
+ using DREditor.EventObjects;
3
+ using UnityEngine;
4
+
5
+ namespace DREditor.Minigames.NSD.Managers
6
+ {
7
+ [RequireComponent(typeof(UnityEngine.Camera))]
8
+ [ClassHeader("Manually renders the camera through this monobehaviour." +
9
+ "\nRequires Component: " + nameof(UnityEngine.Camera) +
10
+ "\n\n")]
11
+ public class ManuallyRenderCamera : MonoBehaviour
12
+ {
13
+ /// <summary>
14
+ ///
15
+ /// </summary>
16
+ [Tooltip("")]
17
+ [SerializeField] protected BoolWithEvent cameraEnabled = null;
18
+
19
+
20
+ /// <summary>
21
+ ///
22
+ /// </summary>
23
+ protected UnityEngine.Camera renderCamera;
24
+
25
+
26
+ protected virtual void Awake()
27
+ {
28
+ renderCamera = GetComponent<UnityEngine.Camera>();
29
+
30
+ cameraEnabled.SetValue(false);
31
+ }
32
+
33
+
34
+ protected virtual void Update()
35
+ {
36
+ if (renderCamera != null)
37
+ renderCamera.Render();
38
+ }
39
+ }
40
40
  }
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: b3813e15498bbe8488025ecedc8aad8d
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: b3813e15498bbe8488025ecedc8aad8d
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -1,57 +1,57 @@
1
- //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
- using DREditor.Dialogues;
3
- using DREditor.Minigames.Debates;
4
- using UnityEngine;
5
-
6
- namespace DREditor.Minigames.NSD.Managers
7
- {
8
- /// <summary>
9
- ///
10
- /// </summary>
11
- [System.Serializable]
12
- [CreateAssetMenu(menuName = "DREditor/Minigames/NSD", fileName = "NSD Builder")]
13
- public class NSDBuilder : DebateBuilder<Panel>
14
- {
15
- /// <summary>
16
- ///
17
- /// </summary>
18
- [SerializeField] protected DialogueCore endDialogue;
19
-
20
- /// <summary>
21
- ///
22
- /// </summary>
23
- public DialogueCore EndDialogue { get => endDialogue; set => endDialogue = value; }
24
-
25
-
26
- /// <inheritdoc/>
27
- public override void Convert()
28
- {
29
- foreach (var panel in Lines)
30
- foreach (var phrase in panel.Phrases)
31
- phrase.Convert();
32
- }
33
-
34
- /// <inheritdoc/>
35
- public override bool Scan(out string log)
36
- {
37
- log = "";
38
-
39
- bool lineIssue = false;
40
-
41
- if (EndDialogue == null)
42
- log += $"\n- Does not have End Dialogue!";
43
-
44
- foreach (var panel in Lines)
45
- if (panel is IDebateScanner scannable && scannable.Scan(out string lineResult))
46
- {
47
- log += $"\n- Issue on Panel index: {Lines.IndexOf(panel)} {lineResult}";
48
-
49
- lineIssue = true;
50
- }
51
-
52
- log = log != "" ? name + " contains issues: " + log : log;
53
-
54
- return EndDialogue == null || lineIssue;
55
- }
56
- }
1
+ //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
+ using DREditor.Dialogues;
3
+ using DREditor.Minigames.Debates;
4
+ using UnityEngine;
5
+
6
+ namespace DREditor.Minigames.NSD.Managers
7
+ {
8
+ /// <summary>
9
+ ///
10
+ /// </summary>
11
+ [System.Serializable]
12
+ [CreateAssetMenu(menuName = "DREditor/Minigames/NSD", fileName = "NSD Builder")]
13
+ public class NSDBuilder : DebateBuilder<Panel>
14
+ {
15
+ /// <summary>
16
+ ///
17
+ /// </summary>
18
+ [SerializeField] protected DialogueCore endDialogue;
19
+
20
+ /// <summary>
21
+ ///
22
+ /// </summary>
23
+ public DialogueCore EndDialogue { get => endDialogue; set => endDialogue = value; }
24
+
25
+
26
+ /// <inheritdoc/>
27
+ public override void Convert()
28
+ {
29
+ foreach (var panel in Lines)
30
+ foreach (var phrase in panel.Phrases)
31
+ phrase.Convert();
32
+ }
33
+
34
+ /// <inheritdoc/>
35
+ public override bool Scan(out string log)
36
+ {
37
+ log = "";
38
+
39
+ bool lineIssue = false;
40
+
41
+ if (EndDialogue == null)
42
+ log += $"\n- Does not have End Dialogue!";
43
+
44
+ foreach (var panel in Lines)
45
+ if (panel is IDebateScanner scannable && scannable.Scan(out string lineResult))
46
+ {
47
+ log += $"\n- Issue on Panel index: {Lines.IndexOf(panel)} {lineResult}";
48
+
49
+ lineIssue = true;
50
+ }
51
+
52
+ log = log != "" ? name + " contains issues: " + log : log;
53
+
54
+ return EndDialogue == null || lineIssue;
55
+ }
56
+ }
57
57
  }
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: d94ac4f879bfd6f4abe9085a19610cc2
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: d94ac4f879bfd6f4abe9085a19610cc2
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant: