void SetRayValues(RayBehavior ray) { ray.PositionRange = PositionRange; ray.BeginLocation = SourceObject; ray.EndLocation = TargetObject; ray.startColor = RayColor; ray.endColor = RayColor; ray.WidthA = WidthA; ray.WidthB = WidthB; ray.RadiusA = RadiusA; ray.RadiusB = RadiusB; ray.FadeSpeed = FadeSpeed; ray.ResetRay(); }
private void setRayValues(RayBehavior ray) { ray.PositionRange = PositionRange; ray.BeginLocation = SourceObject; ray.EndLocation = TargetObject; ray.BeginColor = RayColor; ray.EndColor = RayColor; ray.WidthA = WidthA; ray.WidthB = WidthB; ray.RadiusA = RadiusA; ray.RadiusB = RadiusB; ray.FadeSpeed = FadeSpeed; ray.ResetRay(); }