fr.jeanf.questsystem 0.0.34 → 0.0.35

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.
@@ -4,7 +4,7 @@ using jeanf.questsystem;
4
4
  using UnityEditor;
5
5
  using UnityEngine;
6
6
 
7
- public class QuestInfoSO_Editor : Editor
7
+ public class QuestSO_Editor : Editor
8
8
  {
9
9
  [CustomEditor(typeof(QuestSO))]
10
10
  public class BoolEventOnClickEditor : Editor {
@@ -0,0 +1,24 @@
1
+ #if UNITY_EDITOR
2
+ using UnityEditor;
3
+ using UnityEngine;
4
+
5
+ namespace jeanf.questsystem
6
+ {
7
+ [CustomEditor(typeof(QuestStep), true)]
8
+ public class QuestStep_Editor : Editor
9
+ {
10
+ public override void OnInspectorGUI()
11
+ {
12
+ GUILayout.Space(10);
13
+ var eventToSend = (QuestStep)target;
14
+ if (GUILayout.Button("Regenerate questStep id", GUILayout.Height(20)))
15
+ {
16
+ eventToSend.GenerateId(); // how do i call this?
17
+ }
18
+ GUILayout.Space(10);
19
+
20
+ DrawDefaultInspector();
21
+ }
22
+ }
23
+ }
24
+ #endif
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 4d6bc104dc5aaf843822427976cba928
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,6 +1,6 @@
1
1
  {
2
2
  "name":"fr.jeanf.questsystem",
3
- "version":"0.0.34",
3
+ "version":"0.0.35",
4
4
  "displayName":"Quest system",
5
5
  "description":"This package uses Scriptable Objects to define quests.",
6
6
  "unity": "2021.3",