- Home /
Reuse iTween component for multiple small animations
I am using iTween for a system that has a large amount of moving objects whose animations change very frequently.
My suspicion is that iTween has a lot of overhead because every time the animation completes, the iTween component is removed from the GameObject. Then when I add the next animation, a component is added again. With a lot of separate independently moving objects, this adds up.
Is there any way of reusing the iTween component? I couldn't seem to find a way. Or is this the wrong approach/library for this use case?
I am using iTween.Init(gameObject), but that doesn't seem to help much.
Thank you!
Your answer
Follow this Question
Related Questions
Does PersistentDataPath get overwritten on mobile? 1 Answer
Rotate model with ARKit 0 Answers
DOs and DON'Ts in mobile game development 2 Answers
PlayerPrefs Storage Location on Android or iOS 4 Answers
Mobile efficiency: this.renderer.material.color vs vertex shaders for changing object color. 1 Answer