fr.jeanf.questsystem 0.0.51 → 0.0.53

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.
@@ -58,7 +58,8 @@ namespace jeanf.questsystem
58
58
  public void InitializeQuestStep()
59
59
  {
60
60
  // failsafe to avoid lauching the same step more than once at a time.
61
- if (stepStatus == QuestStepStatus.Active) return;
61
+ // if (stepStatus == QuestStepStatus.Active) return;
62
+
62
63
  if(isDebug) Debug.Log($"Initializing questStep [{stepId}] with for quest with questId: [{questId}]");
63
64
 
64
65
  stepStatus = QuestStepStatus.Active;
@@ -135,7 +136,8 @@ namespace jeanf.questsystem
135
136
  #endif
136
137
 
137
138
 
138
- public bool isDebug { get; set; }
139
+ public bool isDebug { get => _isDebug; set => _isDebug = value; }
140
+ private bool _isDebug = true;
139
141
 
140
142
  public QuestStepStatus GetStatus()
141
143
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"fr.jeanf.questsystem",
3
- "version":"0.0.51",
3
+ "version":"0.0.53",
4
4
  "displayName":"Quest system",
5
5
  "description":"This package uses Scriptable Objects to define quests.",
6
6
  "unity": "2021.3",