diff --git a/Assets/Scripts/InventoryStuff/ScrollDetails.cs b/Assets/Scripts/InventoryStuff/ScrollDetails.cs index 6d4fe4a2f14dd994b725ebb0f30111dd500342d5..e528d375477c810e3dca35353ade450da27ae2aa 100644 --- a/Assets/Scripts/InventoryStuff/ScrollDetails.cs +++ b/Assets/Scripts/InventoryStuff/ScrollDetails.cs @@ -77,8 +77,10 @@ public void setScroll(Scroll s) public void animateScrollParameter(string label) { var obj = ParameterDisplays.Find(x => x.transform.GetChild(0).GetComponent<RenderedScrollFact>().Label == label); - Animator temp = obj.GetComponentInChildren<Animator>(); - temp.SetTrigger("animateHint"); + //Animate original ScrollParameter + obj.GetComponentInChildren<Animator>().SetTrigger("animateHint"); + //Animate rendered ScrollParameter + obj.transform.GetChild(0).GetComponent<DropHandling>().associatedDropHandling.GetComponentInParent<Animator>().SetTrigger("animateHint"); } public void magicButton()