文档

Unity Engine


User Manual

Script Reference

Unity Engine


SetupZoom

Setup zoom properties.
阅读时间1 分钟最后更新于 1 个月前

Definition

SetupZoom(float, float)

Setup zoom properties.
public void SetupZoom(float minScaleSetup, float maxScaleSetup)

Parameters

minScaleSetup

Min zoom level.

maxScaleSetup

Max zoom level.

SetupZoom(float, float, float, float)

Setup zoom properties.
public void SetupZoom(float minScaleSetup, float maxScaleSetup, float scaleStepSetup, float referenceScaleSetup)

Parameters

minScaleSetup

Min zoom level.

maxScaleSetup

Max zoom level.

scaleStepSetup

Zoom step.

referenceScaleSetup

Reference zoom level.