Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
106 lines
2.2 KiB
C#
106 lines
2.2 KiB
C#
using UnityEngine;
|
|
|
|
public class DetailMgr
|
|
{
|
|
public GameObject DetailNormal;
|
|
|
|
public LODGroup DetailNormalLodGroup;
|
|
|
|
public MeshRenderer DetailNormalBaseMesh;
|
|
|
|
public UILabel DetailNormalCostLabel;
|
|
|
|
public UILabel DetailNormalAtkLabel;
|
|
|
|
public UILabel DetailNormalLifeLabel;
|
|
|
|
public UILabel DetailNormalNameLabel;
|
|
|
|
public GameObject DetailSkill;
|
|
|
|
public MeshRenderer DetailSkillBaseMesh;
|
|
|
|
public LODGroup DetailSkillLodGroup;
|
|
|
|
public UILabel DetailSkillCostLabel;
|
|
|
|
public UILabel DetailSkillNameLabel;
|
|
|
|
public GameObject DetailField;
|
|
|
|
public MeshRenderer DetailFieldBaseMesh;
|
|
|
|
public LODGroup DetailFieldLodGroup;
|
|
|
|
public UILabel DetailFieldCostLabel;
|
|
|
|
public UILabel DetailFieldNameLabel;
|
|
|
|
public GameObject DetailPanel;
|
|
|
|
public IDetailPanelControl DetailPanelControl;
|
|
|
|
public GameObject SubDetailPanel;
|
|
|
|
public DetailPanelControl SubDetailPanelControl;
|
|
|
|
public DetailMgr()
|
|
{
|
|
DetailNormal = null;
|
|
DetailNormalLodGroup = null;
|
|
DetailNormalBaseMesh = null;
|
|
DetailNormalCostLabel = null;
|
|
DetailNormalAtkLabel = null;
|
|
DetailNormalLifeLabel = null;
|
|
DetailNormalNameLabel = null;
|
|
DetailSkill = null;
|
|
DetailSkillBaseMesh = null;
|
|
DetailSkillLodGroup = null;
|
|
DetailSkillCostLabel = null;
|
|
DetailSkillNameLabel = null;
|
|
DetailField = null;
|
|
DetailFieldBaseMesh = null;
|
|
DetailFieldLodGroup = null;
|
|
DetailFieldCostLabel = null;
|
|
DetailFieldNameLabel = null;
|
|
DetailPanel = null;
|
|
DetailPanelControl = null;
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
DetailPanel = null;
|
|
DetailPanelControl = null;
|
|
}
|
|
|
|
public static Camera GetCamera()
|
|
{
|
|
return UIManager.GetInstance().UIRootLoadingCamera;
|
|
}
|
|
|
|
public void HideDetailPanel(BattleCardBase card)
|
|
{
|
|
if (card.IsSpell)
|
|
{
|
|
DetailSkill.SetActive(value: false);
|
|
}
|
|
else if (card.IsField)
|
|
{
|
|
DetailField.SetActive(value: false);
|
|
}
|
|
else
|
|
{
|
|
DetailNormal.SetActive(value: false);
|
|
}
|
|
DetailPanelControl.Hide();
|
|
DetailPanelControl.SetScreenPosition(right: false);
|
|
card = null;
|
|
}
|
|
|
|
public void HideSubDetailPanel(BattleCardBase card)
|
|
{
|
|
SubDetailPanelControl.Hide();
|
|
SubDetailPanelControl.SetScreenPosition(right: false);
|
|
}
|
|
}
|