net.dreditor.eventobjectservices 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 (54) hide show
  1. package/.attestation.p7m +0 -0
  2. package/BoolWithEventOnTitleScreen.cs +9 -9
  3. package/BoolWithEventOnTitleScreen.cs.meta +11 -11
  4. package/DREditor.EventObjectServices.asmdef +16 -16
  5. package/DREditor.EventObjectServices.asmdef.meta +7 -7
  6. package/EvaluateCamerasStates.cs +102 -102
  7. package/EvaluateCamerasStates.cs.meta +11 -11
  8. package/FloatWithEventListener.cs +9 -9
  9. package/FloatWithEventListener.cs.meta +11 -11
  10. package/FloatWithEventOnTitleScreen.cs +9 -9
  11. package/FloatWithEventOnTitleScreen.cs.meta +11 -11
  12. package/IntWithEventIndexListener.cs +24 -24
  13. package/IntWithEventIndexListener.cs.meta +11 -11
  14. package/IntWithEventListener.cs +9 -9
  15. package/IntWithEventListener.cs.meta +11 -11
  16. package/IntWithEventOnTitleScreen.cs +9 -9
  17. package/IntWithEventOnTitleScreen.cs.meta +11 -11
  18. package/InverseObjectStateBoolWithEvent.cs +49 -49
  19. package/InverseObjectStateBoolWithEvent.cs.meta +11 -11
  20. package/ObjectActiveOnChapterIndex.cs +83 -83
  21. package/ObjectActiveOnChapterIndex.cs.meta +11 -11
  22. package/ObjectNameDisplayer.cs +46 -46
  23. package/ObjectNameDisplayer.cs.meta +11 -11
  24. package/OptionWithEventListener.cs +56 -56
  25. package/OptionWithEventListener.cs.meta +11 -11
  26. package/ResetCharacterControllerOnEvent.cs +46 -46
  27. package/ResetCharacterControllerOnEvent.cs.meta +11 -11
  28. package/{Samples → Samples~}/Float_With_Event_On_Title_Screen.prefab +48 -48
  29. package/{Samples → Samples~}/Float_With_Event_On_Title_Screen.prefab.meta +7 -7
  30. package/{Samples → Samples~}/Int_With_Event_On_Title_Screen.prefab +48 -48
  31. package/{Samples → Samples~}/Int_With_Event_On_Title_Screen.prefab.meta +7 -7
  32. package/{Samples → Samples~}/Reset_Player.prefab +118 -118
  33. package/{Samples → Samples~}/Reset_Player.prefab.meta +7 -7
  34. package/{Samples → Samples~}/Selectable_Object_Manager.prefab +49 -49
  35. package/{Samples → Samples~}/Selectable_Object_Manager.prefab.meta +7 -7
  36. package/SceneEventOnStart.cs +26 -26
  37. package/SceneEventOnStart.cs.meta +11 -11
  38. package/SelectStringWithEvent.cs +43 -43
  39. package/SelectStringWithEvent.cs.meta +11 -11
  40. package/SelectableObjectManager.cs +44 -44
  41. package/SelectableObjectManager.cs.meta +11 -11
  42. package/SpriteOnIntEvent.cs +67 -67
  43. package/SpriteOnIntEvent.cs.meta +11 -11
  44. package/StringWithEventListener.cs +9 -9
  45. package/StringWithEventListener.cs.meta +11 -11
  46. package/TextWithEventListener.cs +45 -45
  47. package/TextWithEventListener.cs.meta +11 -11
  48. package/ValueWithEventListener.cs +59 -59
  49. package/ValueWithEventListener.cs.meta +11 -11
  50. package/ValueWithEventOnTitleScreen.cs +36 -36
  51. package/ValueWithEventOnTitleScreen.cs.meta +11 -11
  52. package/package.json +41 -36
  53. package/package.json.meta +7 -0
  54. package/Samples.meta +0 -8
@@ -1,60 +1,60 @@
1
- //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
- using DREditor.EventObjects;
3
- using UnityEngine;
4
- using UnityEngine.Events;
5
-
6
- namespace DREditor.EventObjectServices
7
- {
8
- /// <summary>
9
- ///
10
- /// </summary>
11
- /// <typeparam name="T"></typeparam>
12
- /// <typeparam name="TX"></typeparam>
13
- /// <typeparam name="TY"></typeparam>
14
- public abstract class ValueWithEventListener<T, TX, TY> : MonoBehaviour
15
- where T : ValueWithEvent<TX, TY>
16
- where TY : UnityEvent<TX>, new()
17
- {
18
- /// <summary>
19
- ///
20
- /// </summary>
21
- [Header("")]
22
- [Divider]
23
- [Tooltip("")]
24
- [SerializeField] protected T valueWithEvent = null;
25
-
26
- [Space]
27
-
28
- [Header("")]
29
- [SerializeField] protected TY OnValueChangedEvent;
30
-
31
-
32
- /// <summary>
33
- ///
34
- /// </summary>
35
- protected TX UpdatedValue { get; private set; }
36
-
37
-
38
- /// <summary>
39
- ///
40
- /// </summary>
41
- protected virtual void OnEnable() => valueWithEvent?.AddListener(OnValueChanged);
42
-
43
- /// <summary>
44
- ///
45
- /// </summary>
46
- protected virtual void OnDisable() => valueWithEvent?.RemoveListener(OnValueChanged);
47
-
48
-
49
- /// <summary>
50
- ///
51
- /// </summary>
52
- /// <param name="updatedValue"></param>
53
- protected virtual void OnValueChanged(TX updatedValue)
54
- {
55
- UpdatedValue = updatedValue;
56
-
57
- OnValueChangedEvent?.Invoke(updatedValue);
58
- }
59
- }
1
+ //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
+ using DREditor.EventObjects;
3
+ using UnityEngine;
4
+ using UnityEngine.Events;
5
+
6
+ namespace DREditor.EventObjectServices
7
+ {
8
+ /// <summary>
9
+ ///
10
+ /// </summary>
11
+ /// <typeparam name="T"></typeparam>
12
+ /// <typeparam name="TX"></typeparam>
13
+ /// <typeparam name="TY"></typeparam>
14
+ public abstract class ValueWithEventListener<T, TX, TY> : MonoBehaviour
15
+ where T : ValueWithEvent<TX, TY>
16
+ where TY : UnityEvent<TX>, new()
17
+ {
18
+ /// <summary>
19
+ ///
20
+ /// </summary>
21
+ [Header("")]
22
+ [Divider]
23
+ [Tooltip("")]
24
+ [SerializeField] protected T valueWithEvent = null;
25
+
26
+ [Space]
27
+
28
+ [Header("")]
29
+ [SerializeField] protected TY OnValueChangedEvent;
30
+
31
+
32
+ /// <summary>
33
+ ///
34
+ /// </summary>
35
+ protected TX UpdatedValue { get; private set; }
36
+
37
+
38
+ /// <summary>
39
+ ///
40
+ /// </summary>
41
+ protected virtual void OnEnable() => valueWithEvent?.AddListener(OnValueChanged);
42
+
43
+ /// <summary>
44
+ ///
45
+ /// </summary>
46
+ protected virtual void OnDisable() => valueWithEvent?.RemoveListener(OnValueChanged);
47
+
48
+
49
+ /// <summary>
50
+ ///
51
+ /// </summary>
52
+ /// <param name="updatedValue"></param>
53
+ protected virtual void OnValueChanged(TX updatedValue)
54
+ {
55
+ UpdatedValue = updatedValue;
56
+
57
+ OnValueChangedEvent?.Invoke(updatedValue);
58
+ }
59
+ }
60
60
  }
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: 3268ea060bdf9034eae5dc88de67c699
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: 3268ea060bdf9034eae5dc88de67c699
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -1,37 +1,37 @@
1
- //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
- using DREditor.EventObjects;
3
- using DREditor.Services;
4
- using UnityEngine;
5
- using UnityEngine.Events;
6
-
7
- namespace DREditor.EventObjectServices
8
- {
9
- /// <summary>
10
- ///
11
- /// </summary>
12
- /// <typeparam name="T"></typeparam>
13
- /// <typeparam name="TY"></typeparam>
14
- public class ValueWithEventOnTitleScreen<T, TY> : MonoBehaviour, IToTitleScreen where TY : UnityEvent<T>, new()
15
- {
16
- /// <summary>
17
- ///
18
- /// </summary>
19
- [Header("")]
20
-
21
- [Tooltip("")]
22
- [SerializeField] protected ValueWithEvent<T, TY> valueWithEvent = null;
23
-
24
- /// <summary>
25
- ///
26
- /// </summary>
27
- [Tooltip("")]
28
- [SerializeField] protected T valueOnTitleScreen;
29
-
30
-
31
- public virtual void ToTitleScreen()
32
- {
33
- if (valueWithEvent != null)
34
- valueWithEvent.SetValue(valueOnTitleScreen);
35
- }
36
- }
1
+ //Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
2
+ using DREditor.EventObjects;
3
+ using DREditor.Services;
4
+ using UnityEngine;
5
+ using UnityEngine.Events;
6
+
7
+ namespace DREditor.EventObjectServices
8
+ {
9
+ /// <summary>
10
+ ///
11
+ /// </summary>
12
+ /// <typeparam name="T"></typeparam>
13
+ /// <typeparam name="TY"></typeparam>
14
+ public class ValueWithEventOnTitleScreen<T, TY> : MonoBehaviour, IToTitleScreen where TY : UnityEvent<T>, new()
15
+ {
16
+ /// <summary>
17
+ ///
18
+ /// </summary>
19
+ [Header("")]
20
+
21
+ [Tooltip("")]
22
+ [SerializeField] protected ValueWithEvent<T, TY> valueWithEvent = null;
23
+
24
+ /// <summary>
25
+ ///
26
+ /// </summary>
27
+ [Tooltip("")]
28
+ [SerializeField] protected T valueOnTitleScreen;
29
+
30
+
31
+ public virtual void ToTitleScreen()
32
+ {
33
+ if (valueWithEvent != null)
34
+ valueWithEvent.SetValue(valueOnTitleScreen);
35
+ }
36
+ }
37
37
  }
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: aefd2bf47e39f3b49b67b2633ff85cdf
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: aefd2bf47e39f3b49b67b2633ff85cdf
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,36 +1,41 @@
1
- {
2
- "name": "net.dreditor.eventobjectservices",
3
- "displayName": "DREditor Event Object Services",
4
- "version": "0.1.6",
5
- "unity": "6000.4",
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "description": "The beta for DREditor. A tool to create death game style projects without having to code.",
10
- "author": {
11
- "name": "Benjamin \"Sweden\" Jillson",
12
- "email": "dreditortool@gmail.com",
13
- "url": "https://dreditor.net"
14
- },
15
- "dependencies": {
16
- "com.unity.nuget.newtonsoft-json": "3.2.2",
17
- "com.unity.cinemachine": "2.10.7",
18
- "net.dreditor.core": "0.1.6"
19
- },
20
- "keywords": [
21
- "editor",
22
- "tool",
23
- "dreditor"
24
- ],
25
- "samples": [
26
- {
27
- "displayName": "Samples",
28
- "description": "",
29
- "path": "Samples~"
30
- }
31
- ],
32
- "documentationUrl": "https://dreditor.net",
33
- "license": "Apache-2.0",
34
- "licensesUrl": "https://dreditor.net/docs/LICENSE.html",
35
- "changelogUrl": "https://dreditor.net/docs/CHANGELOG.html"
36
- }
1
+ {
2
+ "name": "net.dreditor.eventobjectservices",
3
+ "displayName": "DREditor Event Object Services",
4
+ "version": "0.1.8",
5
+ "unity": "6000.4",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "description": "The beta for DREditor. A tool to create death game style projects without having to code.",
10
+ "author": {
11
+ "name": "Benjamin \"Sweden\" Jillson",
12
+ "email": "dreditortool@gmail.com",
13
+ "url": "https://dreditor.net"
14
+ },
15
+ "dependencies": {
16
+ "com.unity.nuget.newtonsoft-json": "3.2.2",
17
+ "com.unity.cinemachine": "2.10.7",
18
+ "net.dreditor.core": "0.1.8"
19
+ },
20
+ "keywords": [
21
+ "editor",
22
+ "tool",
23
+ "dreditor"
24
+ ],
25
+ "samples": [
26
+ {
27
+ "displayName": "Samples",
28
+ "description": "",
29
+ "path": "Samples~"
30
+ }
31
+ ],
32
+ "documentationUrl": "https://dreditor.net",
33
+ "license": "Apache-2.0",
34
+ "licensesUrl": "https://dreditor.net/docs/LICENSE.html",
35
+ "changelogUrl": "https://dreditor.net/docs/CHANGELOG.html",
36
+ "repository": {
37
+ "url": "https://github.com/CertifiedSharp/DREditor",
38
+ "type": "git",
39
+ "revision": "416b18f937fb917bf3f595362a1082ed97457744"
40
+ }
41
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: f5d3d3a4d214ef94990b510f11cd8e3d
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/Samples.meta DELETED
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 13e3e3cbf4d8b244198f15f74cb89ba9
3
- folderAsset: yes
4
- DefaultImporter:
5
- externalObjects: {}
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant: