// Token: 0x060024E1 RID: 9441 RVA: 0x0023CB8C File Offset: 0x0023AD8C public GamePadSilhouette(OverseerDroughtTutorialBehavior.GamePadInstruction hologram, int firstSprite) : base(hologram, firstSprite) { this.totalSprites += 4; this.offset = new Vector2(0f, -40f); List <Vector2> list = new List <Vector2>(); for (int i = 0; i < 26; i++) { list.Add(default(Vector2)); } List <Vector2> list2 = new List <Vector2>(); list2.Add(new Vector2(22f, 11f)); list2.Add(new Vector2(20f, 9f)); list2.Add(new Vector2(15f, 10f)); list2.Add(new Vector2(14f, 10f)); list2.Add(new Vector2(11f, 3f)); list2.Add(new Vector2(8f, 0f)); list2.Add(new Vector2(5f, 0f)); list2.Add(new Vector2(1f, 3f)); list2.Add(new Vector2(0f, 6f)); list2.Add(new Vector2(5f, 25f)); list2.Add(new Vector2(9f, 30f)); list2.Add(new Vector2(14f, 30f)); list2.Add(new Vector2(16f, 28f)); for (int j = 0; j < list2.Count; j++) { list[j] = list2[j] + new Vector2(-25f, -15f); list[25 - j] = new Vector2(25f - list2[j].x, list2[j].y - 15f); } base.AddClosedPolygon(list); }
// Token: 0x060024E7 RID: 9447 RVA: 0x0023D080 File Offset: 0x0023B280 public GamePadStick(OverseerDroughtTutorialBehavior.GamePadInstruction hologram, int firstSprite, OverseerDroughtTutorialBehavior.GamePadStickSocket socket) : base(hologram, firstSprite) { this.socket = socket; float num = 12f * socket.scale; float num2 = -5f; float num3 = 5f * socket.scale; for (int i = 0; i < 8; i++) { float num4 = (float)i / 8f; float num5 = (float)(i + 1) / 8f; base.AddLine(Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * num, -5f + num2), Custom.Vec3FromVec2(Custom.DegToVec(num5 * 360f) * num, -5f + num2)); base.AddLine(Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * (num + num3), num2), Custom.Vec3FromVec2(Custom.DegToVec(num5 * 360f) * (num + num3), num2)); base.AddLine(Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * num, 5f + num2), Custom.Vec3FromVec2(Custom.DegToVec(num5 * 360f) * num, 5f + num2)); base.AddLine(Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * num, -5f + num2), Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * (num + num3), num2)); base.AddLine(Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * num, 5f + num2), Custom.Vec3FromVec2(Custom.DegToVec(num4 * 360f) * (num + num3), num2)); } }