About the beginner coding skills in Unity

Source: Internet
Author: User

Write code encountered error, how to do? How do I view the interface of the Unity code? function parameters do not remember what to do?

Workaround:

1. Choose a function or class that you do not understand, press F12, jump to the definition of the code, and see for yourself.

2. Sometimes, choose a function, press F12 want to jump to see the definition, the result is not jumping past, this is because there are some names and it is the same but the parameters are different functions near the definition, the compiler does not know which function to jump to you see, there is an error.

It's time to jump to the class that defines the function and go to the human eye to find the definition of the function.

3. Put the mouse on the function, the comments displayed, in fact, after the switch to the definition, expand the function of the content written inside, Unity's function definition also has the Chinese translation, but its source code is not open.

4. Sometimes the compiler does not error, does not mean that the code is not wrong, the Unity editor may error.

About the beginner coding skills in Unity

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.