1
DOTween & DOTween Pro / Re: Tween got killed without obvious reason
« on: November 24, 2015, 12:51:53 PM »
Yeah, i have few references to Tweens in project. Just noticed that with recycling turned on, _playerMapObject move tween becomes gameplay main sequence used to animate all game elements. Only tween killed manually in project is.... ta-da! gameplay main sequence))) So it can be reason of buggy appearance and unexpected killing of tween.
But! I'm using gpMainSequence.SetOnComplete() for some animation logic of gameplay. With recycling turned ON it seems like SetOnComplete working like "+=" instead if "=" so my gameplay animation logic works like expected but in the same time i got Debug.Log() messages, used for test _playerMapObject move tween. So i mean recycling doesn't fully clean Tween for reuse.
But! I'm using gpMainSequence.SetOnComplete() for some animation logic of gameplay. With recycling turned ON it seems like SetOnComplete working like "+=" instead if "=" so my gameplay animation logic works like expected but in the same time i got Debug.Log() messages, used for test _playerMapObject move tween. So i mean recycling doesn't fully clean Tween for reuse.