fr.jeanf.eventsystem 0.1.83 → 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
|
}
|
package/package.json
CHANGED