IGEditorUtils.

GetSensitivity(Event, float) Method

Summary

Returns a value of 1 multiplied if UnityEngine.Event.shift and divided if UnityEngine.Event.control.

Syntax

public static float GetSensitivity(Event currentEvent, float multiplier = 4)

Parameters

Name Type Description
currentEvent Event
multiplier float

Return Value

Type Description
float