As my player acquires quests, the quest tracker UI expands from both the top and the bottom, and because mine is in the upper right corner, it goes off of the screen.
Is there a way to make it so the tracker only expands downwards?
Additionally, is there a way to make it so the Quest Tracker isn't always showing in front of everything? Because it is a prefab that's on the Dialogue Manager that is also a prefab, there doesn't seem to be a way to affect its layering in the hierarchy.
Thank you!
Quest Tracker - Expand Downwards?
Re: Quest Tracker - Expand Downwards?
Hi,
Alternatively, you can create another canvas and assign it to the Instantiate Prefabs component.
Inspect the Vertical Group child GameObject's Rect Transform component. Set Pivot > Y to 1 and Pos Y to 0.DrewThomasArt wrote: ↑Sun Nov 13, 2022 10:29 pmAs my player acquires quests, the quest tracker UI expands from both the top and the bottom, and because mine is in the upper right corner, it goes off of the screen.
Is there a way to make it so the tracker only expands downwards?
You can add another Canvas GameObject to your Dialogue Manager. I recommend calling it "DialogueCanvas" and setting its Canvas component's Sort Order to a value higher than the original Canvas. Then assign DialogueCanvas to the Dialogue Manager's Display Settings > Default Canvas field.DrewThomasArt wrote: ↑Sun Nov 13, 2022 10:29 pmAdditionally, is there a way to make it so the Quest Tracker isn't always showing in front of everything? Because it is a prefab that's on the Dialogue Manager that is also a prefab, there doesn't seem to be a way to affect its layering in the hierarchy.
Alternatively, you can create another canvas and assign it to the Instantiate Prefabs component.
-
- Posts: 60
- Joined: Thu Mar 24, 2022 12:07 am
Re: Quest Tracker - Expand Downwards?
Thank you, I got it to work marvelously because of thisTony Li wrote: ↑Mon Nov 14, 2022 9:39 am Hi,
Inspect the Vertical Group child GameObject's Rect Transform component. Set Pivot > Y to 1 and Pos Y to 0.DrewThomasArt wrote: ↑Sun Nov 13, 2022 10:29 pmAs my player acquires quests, the quest tracker UI expands from both the top and the bottom, and because mine is in the upper right corner, it goes off of the screen.
Is there a way to make it so the tracker only expands downwards?
You can add another Canvas GameObject to your Dialogue Manager. I recommend calling it "DialogueCanvas" and setting its Canvas component's Sort Order to a value higher than the original Canvas. Then assign DialogueCanvas to the Dialogue Manager's Display Settings > Default Canvas field.DrewThomasArt wrote: ↑Sun Nov 13, 2022 10:29 pmAdditionally, is there a way to make it so the Quest Tracker isn't always showing in front of everything? Because it is a prefab that's on the Dialogue Manager that is also a prefab, there doesn't seem to be a way to affect its layering in the hierarchy.
Alternatively, you can create another canvas and assign it to the Instantiate Prefabs component.
Re: Quest Tracker - Expand Downwards?
Glad I could help!