Unity in the Inspector panel, the activation tick in front of the script

Source: Internet
Author: User

Write a script and hang it on a game object:

 using   System.Collections;  using   System.Collections.Generic;  using   Unityengine;  public  class   Test_01:monobehaviour {  Start () {}  void   Awake () {}  void   Update () {}  void   Ondisable () {}  void   Reset () {}}  

At this point, the script is preceded by an activation tick:

After commenting out the first four methods in the script, the activation check in front of the script is gone:

This is because scripting excitation does not affect the execution of the first four methods, but does not affect the execution of the Reset method. That is, when the script is not activated when there is a difference between the activation button to let you go to set, when the excitation does not have a difference between the time you do not have the hook to set.

Unity in the Inspector panel, the activation tick in front of the script

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.