Documentation

Unity Engine

Unity Engine

SetupZoom

Setup zoom properties.
Read time 1 minuteLast updated 2 months ago

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.