// Token: 0x06004F2E RID: 20270 RVA: 0x001AAD18 File Offset: 0x001A8F18 private void DrawDropSpotShadow(Vector3 loc) { Material shadowMaterial = this.ShadowMaterial; if (shadowMaterial == null) { return; } Skyfaller.DrawDropSpotShadow(loc, base.Rotation, shadowMaterial, this.def.skyfaller.shadowSize / this.FlightArc.Evaluate(this.TimeInAnimation), this.ticksToImpact); }
private void DrawDropSpotShadow() { Material shadowMaterial = this.ShadowMaterial; if (shadowMaterial == null) { return; } Skyfaller.DrawDropSpotShadow(base.DrawPos, base.Rotation, shadowMaterial, this.def.skyfaller.shadowSize, this.ticksToExit); }
public override void DrawAt(Vector3 drawLoc, bool flip = false) { Skyfaller.DrawDropSpotShadow(drawLoc, base.Rotation, this.ShadowMaterial, this.def.skyfaller.shadowSize, this.ticksToImpact); drawLoc.z += (Mathf.Pow(2f * this.TimeInAnimation - 1f, 2f) * -1f + 1f) * (float)(this.ticksToImpactMax / 30); bool flag = this.skyfallerPawn != null; if (flag) { this.skyfallerPawn.RenderPawnAt(drawLoc); } }
public override void DrawAt(Vector3 drawLoc, bool flip) { if (drawLoc.InBounds(Map)) { this.pawnFlyer.Drawer.DrawAt(drawLoc); Material shadowMaterial = this.ShadowMaterial; if (!(shadowMaterial == null)) { Skyfaller.DrawDropSpotShadow(base.DrawPos, base.Rotation, shadowMaterial, this.def.skyfaller.shadowSize, this.ticksSinceStart); } //DropPodAnimationUtility.DrawDropSpotShadow(this, this.ticksSinceStart); } }