Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
30 lines
920 B
C#
30 lines
920 B
C#
using UnityEngine;
|
|
|
|
namespace Wizard;
|
|
|
|
public class MyRotationAbilityDetailDialogItem : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private UILabel _headerLabel;
|
|
|
|
[SerializeField]
|
|
private GameObject _abilityOriginal;
|
|
|
|
[SerializeField]
|
|
private UIGrid _grid;
|
|
|
|
public void Initialize(MyRotationAbilityGroup group)
|
|
{
|
|
_headerLabel.text = Data.SystemText.Get("MyRotation_ID_12", group.StartPackNumber.ToString(), group.LastPackNumber.ToString(), group.StartPackShortName, group.LastPackShortName);
|
|
_abilityOriginal.SetActive(value: false);
|
|
foreach (MyRotationInfo.MyRotationBonus ability in group.AbilityList)
|
|
{
|
|
GameObject obj = NGUITools.AddChild(_grid.gameObject, _abilityOriginal);
|
|
obj.GetComponentInChildren<UISprite>().spriteName = ability.IconName;
|
|
obj.GetComponentInChildren<UILabel>().text = ability.AbilityDesc;
|
|
obj.SetActive(value: true);
|
|
}
|
|
_grid.Reposition();
|
|
}
|
|
}
|