AutoPrefs.

AutoPrefs.Quaternion Class

Summary

An InspectorGadgets.AutoPrefs.AutoPref`1 which UnityEngine.Quaternion value stored in UnityEngine.PlayerPrefs.
Assembly
Kybernetik.InspectorGadgets.dll
Namespace
InspectorGadgets
Interfaces
Base Types
Derived Types
graph BT Type-->Base0["AutoPrefs.AutoPref<Quaternion>"] Base0-->Base1["Object"] Type-.->Interface0["AutoPrefs.IAutoPref"] click Interface0 "/inspector-gadgets/api/InspectorGadgets/IAutoPref" Type["AutoPrefs.Quaternion"] class Type type-node Derived0["AutoPrefs.EditorQuaternion"]-->Type click Derived0 "/inspector-gadgets/api/InspectorGadgets.Editor/EditorQuaternion"

Syntax

public class AutoPrefs.Quaternion : AutoPrefs.AutoPref<Quaternion>, AutoPrefs.IAutoPref

Constructors

Name Summary
Quaternion(string, Quaternion, Action<Quaternion>) Constructs a InspectorGadgets.AutoPrefs.Quaternion pref with the specified `key` and `defaultValue`.

Fields

Name Constant Value Summary
KeyW
The key used to identify the w value of this pref.
KeyY
The key used to identify the y value of this pref.
KeyZ
The key used to identify the z value of this pref.

Properties

Name Value Summary
KeyX string
The key used to identify the x value of this pref.

Methods

Name Value Summary
DeletePref() void
Deletes the value of this pref from UnityEngine.PlayerPrefs and reverts to the default value.
IsSaved() bool
Returns true if UnityEngine.PlayerPrefs currently contains a value for this pref.
Load() Quaternion
Loads the value of this pref from UnityEngine.PlayerPrefs.
Save() void
Saves the value of this pref to UnityEngine.PlayerPrefs.

Operators

Name Value Summary
implicit operator AutoPrefs.Quaternion(string) AutoPrefs.Quaternion
implicit operator Quaternion(AutoPrefs.AutoPref<Quaternion>) Quaternion
Inherited from AutoPrefs.AutoPref<Quaternion>
operator !=(AutoPrefs.AutoPref<Quaternion>, Quaternion) bool
Inherited from AutoPrefs.AutoPref<Quaternion>
operator ==(AutoPrefs.AutoPref<Quaternion>, Quaternion) bool
Inherited from AutoPrefs.AutoPref<Quaternion>