Skip to content
Snippets Groups Projects
Commit 32d72406 authored by Tobias Schöner's avatar Tobias Schöner
Browse files

fix: spawn hoverFacts as last sibling instead of first

parent 14c6e907
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,6 @@ private void InstantiateNewDisplay(FactObject factObj) ...@@ -64,7 +64,6 @@ private void InstantiateNewDisplay(FactObject factObj)
Fact fact = StageStatic.stage.factState[factObj.URI]; Fact fact = StageStatic.stage.factState[factObj.URI];
// TODO: this link to DisplayFacts is not ideal: maybe refactor to SciptableObject or such // TODO: this link to DisplayFacts is not ideal: maybe refactor to SciptableObject or such
currentDisplay = fact.instantiateDisplay(DisplayFacts.prefabDictionary[fact.GetType()], HidingCanvas); currentDisplay = fact.instantiateDisplay(DisplayFacts.prefabDictionary[fact.GetType()], HidingCanvas);
currentDisplay.transform.SetAsFirstSibling();
} }
#region Helper #region Helper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment