[Unity3D practice] Swing helicopter development practice (2) and unity3d practice

Source: Internet
Author: User

[Unity3D practice] Swing helicopter development practice (2) and unity3d practice

[Unity3D practice] Swing helicopter development practice (2)

 

 

Let me show you the second practice of swing helicopter development today

 

1. drag the title_00 image in the Sprites folder to the Hierarchy panel, select the title_00 image that has been dragged, click the Window option in the option bar above Unity3D, and select Animation, in this case, we will find a tool panel,

 

 

2. click the Create button on the right. The file storage path option is displayed. in Assets, Create a folder named [Animation] to enter the folder, name this Animation BoardIdle, save it, return to the [Animation] Panel, click [Add Property], select [Sprite Renderer], and click the plus sign on the Right of Sprite, change Samples in the panel from 60 to 12, delete the last frame of the number of animation frames on the right, and drag the title_01 and other images in the Sprites folder to the number of frames panel,

 

 

3. Close the [Animation] Panel, create a GameObject named "Board" in the [Hierarchy] Panel, Reset it, and drag title_00 into its child objects.

 

4. similarly, bear_0_0_0 and wheels_0 are also the same as above. The animation is named BodyIdle and WheelIdle, And the GameObject created in the Hierarchy panel is named Body and Wheel, then create a folder named Prefabs, which loads the premade object and then drag the above three objects into the folder.

 

5. Some of our pre-fabricated bodies have been completed, and then we save the current scenario. Then we will enter the next learning stage!

 

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.