1using System.Collections.Generic;
60 Sprite sprite = Resources.Load<Sprite>(
"Media/Graphics/Image/Faction/" + f.source.id +
"_avatar");
61 TweenUtil.KillTween(ref
tween);
68 imageFull.sprite = sprite;
82 c.Find<
UIText>(
"Name", recursive:
true).SetText(f.
Name);
83 c.Find<
UIItem>(
"Topic1", recursive:
true).SetTopic(
"relationGod", f.
relation.ToString() ??
"");
84 c.Find<
UIItem>(
"Topic2", recursive:
true).SetTopic(
"type", f.
source.GetText(
"textType") ??
"");
85 c.Find<
UIItem>(
"Topic3", recursive:
true).SetTopic(
"avatar", f.
source.textAvatar ??
"");
86 string lang =
"GSSleep";
87 if (f.
id ==
"harmony")
91 if (f.
id ==
"oblivion")
95 c.Find<
UIItem>(
"Topic4", recursive:
true).SetTopic(
"status", lang);
103 Sprite sprite = Resources.Load<Sprite>(
"Media/Graphics/Image/Faction/" + f.source.id +
"_avatar");
104 TweenUtil.KillTween(ref
tween);
111 imageFull.sprite = sprite;
137 for (
int i = 0; i < list.Count; i++)
139 note.
AddText(list[i].Name + (((i == 1 && branch.
lv < 4) || (i == 2 && branch.
lv < 7)) ?
"landfeat_locked".lang() :
""));
162 foreach (
Element value2
in branch.elements.dict.Values)
164 if (value2.
source.category ==
"policy")
virtual Tween Play(Transform trans, UnityAction onComplete=null, float duration=-1f, float delay=0f)
GlobalCharaList globalCharas
HomeResourceManager resources
string GetRankText(Zone z)
SourceReligion.Row source
void SetFaction(Faction f)
LayoutGroup layoutButtons
void SetReligion(Religion f)
UIItem AddHeaderTopic(string text, Sprite sprite=null)
UIItem AddHeader(string text, Sprite sprite=null)
UIItem AddTopic(string id, string text, string value=null)
UIItem AddText(string text, FontColor color=FontColor.DontChange)
void Space(int sizeY=0, int sizeX=1)
List< Element > ListLandFeats()