fr.jeanf.eventsystem 0.1.82 → 0.1.84

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.
@@ -5,7 +5,7 @@ namespace jeanf.EventSystem
5
5
  /// <summary>
6
6
  /// Base class for ScriptableObjects that need a public description field.
7
7
  /// </summary>
8
- public class DescriptionBaseSO : SerializableScriptableObject
8
+ public abstract class DescriptionBaseSO : SerializableScriptableObject
9
9
  {
10
10
  [TextArea] public string description;
11
11
  }
@@ -11,12 +11,12 @@ namespace jeanf.EventSystem
11
11
  [SerializeField, HideInInspector] private string _guid;
12
12
  public string Guid => _guid;
13
13
 
14
- #if UNITY_EDITOR
14
+ #if UNITY_EDITOR
15
15
  void OnValidate()
16
16
  {
17
17
  var path = AssetDatabase.GetAssetPath(this);
18
18
  _guid = AssetDatabase.AssetPathToGUID(path);
19
19
  }
20
- #endif
20
+ #endif
21
21
  }
22
22
  }
@@ -4,7 +4,7 @@ using jeanf.EventSystem;
4
4
  using UnityEditor;
5
5
  using UnityEngine;
6
6
 
7
- namespace uvs.tools
7
+ namespace jeanf.EventSystem
8
8
  {
9
9
  public class BoolEventOnClick : MonoBehaviour
10
10
  {
@@ -4,7 +4,7 @@ using jeanf.EventSystem;
4
4
  using UnityEditor;
5
5
  using UnityEngine;
6
6
 
7
- namespace uvs.tools
7
+ namespace jeanf.EventSystem
8
8
  {
9
9
  public class SendIntEventOnClick : MonoBehaviour
10
10
  {
@@ -4,7 +4,7 @@ using jeanf.EventSystem;
4
4
  using UnityEditor;
5
5
  using UnityEngine;
6
6
 
7
- namespace uvs.tools
7
+ namespace jeanf.EventSystem
8
8
  {
9
9
  public class SendStringEventOnClick : MonoBehaviour
10
10
  {
@@ -4,7 +4,7 @@ using jeanf.EventSystem;
4
4
  using UnityEditor;
5
5
  using UnityEngine;
6
6
 
7
- namespace uvs.tools
7
+ namespace jeanf.EventSystem
8
8
  {
9
9
  public class SendVoidEventOnClick : MonoBehaviour
10
10
  {
@@ -3,6 +3,7 @@ using UnityEngine;
3
3
 
4
4
  namespace jeanf.EventSystem
5
5
  {
6
+ using jeanf.propertyDrawer;
6
7
  public class PingableScriptableObject : MonoBehaviour, IScriptableObjectEventSender, IScriptableObjectEventListener, IDebugBehaviour
7
8
  {
8
9
  public bool isDebug
@@ -4,6 +4,7 @@ using UnityEngine.Serialization;
4
4
 
5
5
  namespace jeanf.EventSystem
6
6
  {
7
+ using jeanf.propertyDrawer;
7
8
  public class TransformEventSender : MonoBehaviour, IDebugBehaviour
8
9
  {
9
10
  public bool isDebug
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"fr.jeanf.eventsystem",
3
- "version":"0.1.82",
3
+ "version":"0.1.84",
4
4
  "displayName":"Event System",
5
5
  "description":"This package contains a basic Event System based on Scriptable Objects as communication medium",
6
6
  "unity": "2021.3",