1、实例化脚本,选择/取消勾选!
UILabel Label_note;
UILabel Label_of;
Label_of = Label_note.GetComponent<UILabel>();
//勾选脚本
Label_of.enabled = true;
1、实例化脚本,选择/取消勾选!
UILabel Label_note;
UILabel Label_of;
Label_of = Label_note.GetComponent<UILabel>();
//勾选脚本
Label_of.enabled = true;