Open GoogleCodeExporter opened 8 years ago
When i want to shoot a projectile... 1. iTween.Stop ( gameObject ); iTween.ValueTo ( gameObject, iTween.Hash ( "name", "slideBall", "from", percentage, "to", 1.0f, "speed", speed, "delay", 0.0f, "easetype", iTween.EaseType.linear, "onupdate", "SlidePercentage_Ball", "oncomplete", "SlideBallFinish" )); 2. private void SlidePercentage_Ball ( float _p ) { percentage = _p; } 3. void Update or FixedUpdate () { iTween.PutOnPath ( gameObject, vertices, percentage ); print ( " - " + percentage ); } 4. - 0 <---- delay - 0 <---- delay - 0.2 - .... Unity 4.0.0f7 iTween 2.0.45 Windows 7 Ultimate 64
Original issue reported on code.google.com by KFRadi...@gmail.com on 27 Jan 2013 at 5:40
KFRadi...@gmail.com
Original issue reported on code.google.com by
KFRadi...@gmail.com
on 27 Jan 2013 at 5:40