Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CustomPivotRotation

Use this class to implement an editor pivot rotation setting. This is the base class from which all custom pivot rotation settings are inherited.
Read time 4 minutesLast updated 4 days ago

Definition

public abstract class CustomPivotRotation : ScriptableObject

Properties

Property

Description

rotationGets the rotation of this pivot rotation setting.

Methods

Method

Description

OnActivatedInvoked after this CustomPivotRotation becomes the active pivot rotation.
OnWillBeDeactivatedInvoked before this CustomPivotRotation stops being the active pivot rotation.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.