private void Awake() { this.beamToPoint = GetComponent <BeamToPoint>(); impactCreator = GetComponent <ImpactCreator>(); // Reset localscale if changed due to parent var scale = this.transform.localScale; if (scale.x < 0) { scale.x = -scale.x; } this.transform.localScale = scale; }