Skip to content
Snippets Groups Projects
Commit c52deacf authored by John Schihada's avatar John Schihada
Browse files

Adjusted Animation due to new ScrollDetails Panel

parent 856e8db7
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
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