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
|
-
|
|
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()
|