UGUI內核大探究(四)Selectable與Button

Selectable是UGUI的核心組件,除了最經常使用的Button,它仍是Scrollbar、Dropdown、Slider、Toggle、InputField這些組件的基類。在本文中,咱們將分析Selectable和Button的源碼,探究兩者的實現原理。 按照慣例,附上UGUI源碼下載地址。 html 在Selectable以前,咱們看到,它被添加了四個屬性:編輯器 [AddCompone
相關文章
相關標籤/搜索