protected virtual void HandleScanVolumeChangeEvent(ScaleEventArgs args) { Vector3 min = new Vector3(-args.scale, 0, -args.scale); this.scanBounds.min = min; Vector3 max = new Vector3(args.scale, args.scale, args.scale); this.scanBounds.max = max; }
protected virtual void HandleScanVolumeChangeEvent(ScaleEventArgs args) { Vector3 min = new Vector3(-args.scale, 0, -args.scale); this.scanBounds.min = min; Vector3 max = new Vector3(args.scale, args.scale, args.scale); this.scanBounds.max = max; this.gameScale = args.scale; this.currentPosition = this.startPosition * args.scale; }
void HandleScanVolumeChangeEvent(ScaleEventArgs args) { this.gameScale = args.scale; }
void HandleScaleEvent(ScaleEventArgs args) { this.gameScale = args.scale; }