1234567891011121314151617181920212223242526272829303132333435 |
- using Core.Language;
- using Excel2Json;
- using Fort23.UTool;
- namespace Fort23.Mono
- {
- [UIBinding(prefab = "DaoYouaaFfixWidget" )]
- public partial class DaoYouaaFfixWidget : UIComponent
- {
- private void Init()
- {
- }
- public override void AddEvent()
- {
- }
- public override void DelEvent()
- {
- }
- public override void AddButtonEvent()
- {
- }
- public void CustomInit(int configId)
- {
- daolvSkill daolvSkill = ConfigComponent.Instance.Get<daolvSkill>(configId);
- Text_Name.text = LanguageManager.Instance.Text(daolvSkill.name);
- Icon_Weiyi.gameObject.SetActive(daolvSkill.type == 1);
- }
- }
- }
|