Skip to content

Commit

Permalink
Fixed 2d extras package
Browse files Browse the repository at this point in the history
  • Loading branch information
FredTheNoob committed Apr 8, 2021
1 parent 554fe31 commit bed91e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion Assets/Scripts/Dialogue/UIDialogueOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ public void SelectOption()
}

public void OnSelect(BaseEventData eventData) => gameObject.transform.GetChild(0).gameObject.SetActive(true);

public void OnDeselect(BaseEventData eventData) => gameObject.transform.GetChild(0).gameObject.SetActive(false);
}
1 change: 1 addition & 0 deletions Assets/Scripts/Quest/QuestManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ private void SetUI()
{
var questToDisplay = (dynamic)AllQuests[ActiveQuest];

Instantiate(questToDisplay.QuestIcon.gameObject, questToDisplay.NPC.transform.position + new Vector2(0,1.5F));
QuestName.text = questToDisplay.Name;
QuestObjective.text = $"Objective: {questToDisplay.Objective}";
QuestDescription.text = questToDisplay.Description;
Expand Down
2 changes: 1 addition & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.spriteshape": "3.0.14",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.2d.tilemap.extras": "file:C:/Users/Benjamin/Desktop/DDU/_Eksamensprojekt/2D Extras/2d-extras-master",
"com.unity.2d.tilemap.extras": "https://github.com/Unity-Technologies/2d-extras.git",
"com.unity.cinemachine": "2.6.3",
"com.unity.collab-proxy": "1.2.16",
"com.unity.ide.rider": "1.1.4",
Expand Down
7 changes: 4 additions & 3 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,14 @@
"dependencies": {}
},
"com.unity.2d.tilemap.extras": {
"version": "file:C:/Users/Benjamin/Desktop/DDU/_Eksamensprojekt/2D Extras/2d-extras-master",
"version": "https://github.com/Unity-Technologies/2d-extras.git",
"depth": 0,
"source": "local",
"source": "git",
"dependencies": {
"com.unity.modules.tilemap": "1.0.0",
"com.unity.2d.tilemap": "1.0.0"
}
},
"hash": "07f70de285fc5c593ea6ce0d01455de496f743a8"
},
"com.unity.cinemachine": {
"version": "2.6.3",
Expand Down

0 comments on commit bed91e3

Please sign in to comment.