9 public override bool IsLocalMap
18 public override void OnActivate()
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++)
26 array[i].SetActive(!indoor);
28 EMono.scene.RefreshBG();
32 public override void SetUnitSize()
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;
38 float num2 = num * 100f;
39 float num3 = num * 100f / 4f;
40 this.tileViewSize =
new Vector2(num2 * 0.01f, num3 * 0.01f);
44 public Transform[] moons;