Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetActivePivotMode

Sets the active pivot mode to the specified type.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetActivePivotMode<T>()

Sets the active pivot mode to the specified type.
public static void SetActivePivotMode<T>() where T : CustomPivotMode

SetActivePivotMode(Type)

Sets the active pivot mode to the specified type.
public static void SetActivePivotMode(Type pivotModeType)

Parameters

pivotModeType

The type of the pivot mode to set as active.