示例#1
0
 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;
 }
示例#2
0
        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;
        }
示例#3
0
 void HandleScanVolumeChangeEvent(ScaleEventArgs args)
 {
     this.gameScale = args.scale;
 }
示例#4
0
 void HandleScaleEvent(ScaleEventArgs args)
 {
     this.gameScale = args.scale;
 }