Elin Modding Docs Doc
Loading...
Searching...
No Matches
UIMapSelector.cs
1using System;
2using UnityEngine;
3using UnityEngine.UI;
4
5// Token: 0x02000542 RID: 1346
6public class UIMapSelector : EMono
7{
8 // Token: 0x06002495 RID: 9365 RVA: 0x000CE348 File Offset: 0x000CC548
9 public void WriteNote(Zone z)
10 {
11 ZoneProfile.Load(z.source.idProfile);
12 this.note.Clear();
13 this.note.AddHeader(z.Name, null);
14 this.note.AddText(z.source.GetDetail(), FontColor.DontChange).Hyphenate();
15 this.note.Space(0, 1);
16 this.note.AddTopic("climate".lang(), "climateTemp".lang());
17 int cost = z.source.cost;
18 this.note.AddTopic("ecosystem".lang(), "ecosystemTemp".lang());
19 this.note.Build();
20 this.imageZone.sprite = Resources.Load<Sprite>("Media/Graphics/Image/Zone/" + z.source.image.IsEmpty("default"));
21 }
22
23 // Token: 0x0400140E RID: 5134
24 public UINote note;
25
26 // Token: 0x0400140F RID: 5135
27 public Image imageZone;
28}
Definition EMono.cs:6
Definition Zone.cs:14