Elin Modding Docs Doc
Loading...
Searching...
No Matches
GameScreen.cs
1using System;
2using UnityEngine;
3
4// Token: 0x02000163 RID: 355
6{
7 // Token: 0x170002A5 RID: 677
8 // (get) Token: 0x06000A71 RID: 2673 RVA: 0x0003F29C File Offset: 0x0003D49C
9 public override bool IsLocalMap
10 {
11 get
12 {
13 return true;
14 }
15 }
16
17 // Token: 0x06000A72 RID: 2674 RVA: 0x0003F2A0 File Offset: 0x0003D4A0
18 public override void OnActivate()
19 {
20 bool indoor = EMono._map.config.indoor;
21 this.moons[0].SetLocalPositionY((float)this.moonLevel * -this.planeSpeed.y);
22 this.moons[1].SetLocalPositionY((float)this.moonLevel * -this.planeSpeed.y + 1.4f);
23 Transform[] array = this.moons;
24 for (int i = 0; i < array.Length; i++)
25 {
26 array[i].SetActive(!indoor);
27 }
28 EMono.scene.RefreshBG();
29 }
30
31 // Token: 0x06000A73 RID: 2675 RVA: 0x0003F330 File Offset: 0x0003D530
32 public override void SetUnitSize()
33 {
34 this.tileAlign = new Vector2(this.tileSize.x * 0.005f, this.tileSize.y * 0.005f);
35 this.tileWorldSize = new Vector2(this.tileSize.x * 0.01f, this.tileSize.y * 0.01f);
36 float x = this.tileSize.x;
37 float num = 100f / x;
38 float num2 = num * 100f;
39 float num3 = num * 100f / 4f;
40 this.tileViewSize = new Vector2(num2 * 0.01f, num3 * 0.01f);
41 }
42
43 // Token: 0x04000931 RID: 2353
44 public Transform[] moons;
45
46 // Token: 0x04000932 RID: 2354
47 public RenderData renderTempEQ;
48}
Definition EMono.cs:6