123456789101112131415161718192021222324252627282930313233343536 |
- using Core.Language;
- using Excel2Json;
- using Fort23.UTool;
- namespace Fort23.Mono
- {
- [UIBinding(prefab = "BigMapWidget" )]
- public partial class BigMapWidget : ItemWidgetBasic
- {
- public BigMapConfig bigMap;
- private void Init()
- {
- }
- public override void AddEvent()
- {
- }
- public override void DelEvent()
- {
- }
- public override void AddButtonEvent()
- {
- base.AddButtonEvent();
- }
- public void CustomInit(int bigMapId)
- {
- bigMap = ConfigComponent.Instance.Get<BigMapConfig>(bigMapId);
- Text_Name.text = LanguageManager.Instance.Text(bigMap.mapName);
- }
- }
- }
|