fr.jeanf.questsystem 0.0.46 → 0.0.47

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.
@@ -102,16 +102,9 @@ namespace jeanf.questsystem
102
102
  if (stepMap[id].stepStatus != QuestStepStatus.Inactive) return;
103
103
  if (activeSteps.ContainsKey(id)) return;
104
104
  if (!stepMap.ContainsKey(id)) return;
105
-
106
- if(!activeSteps.ContainsKey(id)) activeSteps.Add(id,Instantiate(stepMap[id], this.transform, true));
107
- }
108
105
 
109
- public void DestroyQuestStep(string id)
110
- {
111
- if (activeSteps.ContainsKey(id))
112
- {
113
- //Destroy(activeSteps[id].gameObject);
114
- }
106
+ Instantiate(stepMap[id], this.transform, true);
107
+ //if(!activeSteps.ContainsKey(id)) activeSteps.Add(id,Instantiate(stepMap[id], this.transform, true));
115
108
  }
116
109
 
117
110
  private void LoadDependencies()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"fr.jeanf.questsystem",
3
- "version":"0.0.46",
3
+ "version":"0.0.47",
4
4
  "displayName":"Quest system",
5
5
  "description":"This package uses Scriptable Objects to define quests.",
6
6
  "unity": "2021.3",