Dotweenpath trajectory movement of the Dotween plugin in Unity

Source: Internet
Author: User

Let's take a look at the Dotweenpath component

1. Scene View Commands
(1) Shift+ctrl:add a waypoint plus a locus point
(2) Shift+alt:remove a waypoint remove a locus point

2. INfo
(1) path length: track lengths

3. Tween Options
(1) AutoPlay: Auto Play
(2) Autokill: Automatically destroy animation after playback
(3) Duration: Animation duration
Speedbased:if selected, the duration would count as Units/degreex second; If selected, the time is the unit time.

(4) Delay: delay
(5) Ease: This is an enumeration that can be interpreted as an animated play rate curve

Related website:
http://dotween.demigiant.com/documentation.php
And: http://robertpenner.com/easing/easing_demo.html

(6) Loops: Number of cycles, cycles of animation
-1: Indicates that it has been circulating
0: Show only once
When the value is >1, the inspector appears Looptype, as the name implies, the loop type:
Restart: Start again, the back animation loop will start again from the starting point;
Yoyo: Play back and forth
Incremental: added, the trailing path motion animation is played on the basis of the last loop end

(7) ID: Animation ID
(8) Updatetype: This enumeration has three values, which refers to the update type
Normal: Regular update, update ()
Late: Later than update, Lateupdate ()
Fixed: Fix update, fixedupdate ()

4. Path Tween Options
(1) Path type: Track line type
Linear: line-type
Catmull Rom: Curve
(2) Close Path: Closes the curve and connects the start and end points
(3) Lock Rotation: lock rotation, XYZW

5, Path editor Options: Track editing parameters, will not introduce

6. Resetpath: Reset Track
7. Events:
(1) OnStart: At the beginning
(2) Onplay: When playing
(3) OnUpdate: Update
(4) Onstep: When one step is complete
(5) OnComplete: When complete
(6) Oncreated: When animation is created
The sequence of events is: Oncreated->onstart->onplay->onupdate (executed until completed), Onstep is executed when one step is completed during the animation, and the entire animation is executed OnComplete

8, waypoints: Moving track point
Copy to Clipboard on the right, copying coordinates to clipboard

The Add minus button means to increase the reduction of the coordinate point

Dotweenpath trajectory movement of the Dotween plugin in Unity

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.