View Single Post
repeating a section of a method with a parameter?
Old
yessir
Guest
 
Status:
Posts: n/a
Question repeating a section of a method with a parameter? - 02-26-2010, 03:17 PM

So I have this walking method for one of the fairy characters, and its broken into three major sections - the beginning of the walk (which opens the legs), the continued walk (the part i want to loop), and the end of the walk (which brings the legs back together). I don't want to break this method up into three separate methods, so i was wondering if there was some way i could just loop one SECTION of this method with a parameter, so when later in the animation i want to change how far or how long the character walks i can change the amount of times her steps are looped with the parameter from the "my world first method".
   
Reply With Quote