|
@@ -26,7 +26,8 @@ namespace Fort23.Mono
|
|
|
private async void OnClickSkillBtn()
|
|
|
{
|
|
|
|
|
|
- HeroDetailPanel heroDetailPanel = await UIManager.Instance.LoadAndOpenPanel<HeroDetailPanel>(null);
|
|
|
+ //HeroDetailPanel heroDetailPanel = await UIManager.Instance.LoadAndOpenPanel<HeroDetailPanel>(null);
|
|
|
+ HeroDetailPanel heroDetailPanel = UIManager.Instance.GetComponent<HeroDetailPanel>();
|
|
|
|
|
|
// SkillUIComponent skillUIComponent = await UIManager.Instance.CreateGComponent<SkillUIComponent>(Callback);
|
|
|
heroDetailPanel.skillUIComponent.SetOtherBorder(this);
|