文档

Unity Engine

Unity Engine

SetActivePivotRotation

Sets the active pivot rotation to the specified type.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

SetActivePivotRotation<T>()

Sets the active pivot rotation to the specified type.
public static void SetActivePivotRotation<T>() where T : CustomPivotRotation

SetActivePivotRotation(Type)

Sets the active pivot rotation to the specified type.
public static void SetActivePivotRotation(Type pivotRotationType)

Parameters

pivotRotationType

The type of the pivot rotation to set as active.