Guest User

Untitled

a guest
Dec 9th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.82 KB | None | 0 0
  1. animationNode as NodeRef of Class GUIAnimation
  2.     foreach status in me.children
  3.       animationList as List of  Association = QueryAssociation(status, "GUIAnimation", 0)
  4.       if animationList.length > 0
  5.         animationNode = animationList[1].target
  6.         if (findString(animationNode.GUIanimationArgs,me.stCurrentIconScale + ",.5") > 0) and (findString(animationNode.GUIanimationArgs,"scale") > 0)
  7.           clear animationList
  8.           return
  9.         else          
  10.           destroynode(animationNode)
  11.           me.animateNode(status, status.scale, me.stCurrentIconScale)
  12.          
  13.         .
  14.       else
  15. //        if not(Round(100 * status.scale) = Round(100 * me.stCurrentIconScale))
  16.           me.animateNode(status, status.scale, me.stCurrentIconScale)
  17. //        .
  18.       .
  19.       clear animationList    
  20.     .
  21.   .
Add Comment
Please, Sign In to add comment