2013년 12월 16일 월요일

Correlation of Awake & Start & Update

Awake (once) -> Start (once/enabled) -> [loop : Update]

1. Regardless of the enabled, Awake is the initialization, to call once. In addition, call the script even if it is not enable.

2. Moment it became enable true Awake or later, you call once Start. You need to call script is to enable.

3. (Tick to each fixed) Update is to continually call after Start is called. (Update type applies all)


4. FixedUpdate is called after the Update.


5. Awake function of the Game Object, where they will be called at random between Game Objects.

6. Be specified to force the calling sequence of the Game Objects seems to be impossible.


MonoBehaviour Lifecycle

Awake (once) -> Start (once/enabled) -> [loop : Update]

1. Regardless of the enabled, Awake is the initialization, to call once. In addition, call the script even if it is not enable.

2. Moment it became enable true Awake or later, you call once Start. You need to call script is to enable.

3. (Tick to each fixed) Update is to continually call after Start is called. (Update type applies all)


4. FixedUpdate is called after the Update.


5. Awake function of the Game Object, where they will be called at random between Game Objects.

6. Be specified to force the calling sequence of the Game Objects seems to be impossible.


댓글 1개:

  1. Borgata Hotel Casino & Spa to reopen July 1 | MJH
    Borgata 화성 출장샵 Hotel Casino & Spa will reopen July 1 from Monday through Thursday, June 1, and will reopen 경상북도 출장샵 from Wednesday through Sunday. 전주 출장안마 It's expected to 여주 출장샵 reopen to 사천 출장마사지 the public

    답글삭제