// Token: 0x060007B3 RID: 1971 RVA: 0x0002DAC0 File Offset: 0x0002BCC0 public void ChangePlayerFloor(Player player, LevelRoom.Type floorType) { int i = 0; while (i < this.players.Count) { if (this.players[i] == player) { if (floorType == LevelRoom.Type.basement) { this.players[i].mapIcon.SetParent(this.basementFloor); return; } if (floorType == LevelRoom.Type.firstFloor) { this.players[i].mapIcon.SetParent(this.firstFloor); return; } this.players[i].mapIcon.SetParent(this.secondFloor); return; } else { i++; } } }
// Token: 0x060007B1 RID: 1969 RVA: 0x0002D9EC File Offset: 0x0002BBEC public void AssignIcon(Transform icon, LevelRoom.Type floorType) { if (floorType == LevelRoom.Type.basement) { icon.SetParent(this.basementFloor); } else if (floorType == LevelRoom.Type.firstFloor) { icon.SetParent(this.firstFloor); } else { icon.SetParent(this.secondFloor); } icon.transform.localScale = Vector3.one * this.iconScale; }
// Token: 0x060007B2 RID: 1970 RVA: 0x0002DA44 File Offset: 0x0002BC44 public void ChangeFloorMonitor(LevelRoom.Type floorType) { this.basementFloor.gameObject.SetActive(false); this.firstFloor.gameObject.SetActive(false); this.secondFloor.gameObject.SetActive(false); if (floorType == LevelRoom.Type.basement) { this.basementFloor.gameObject.SetActive(true); return; } if (floorType == LevelRoom.Type.firstFloor) { this.firstFloor.gameObject.SetActive(true); return; } this.secondFloor.gameObject.SetActive(true); }