Version 3.1.1.0

EditorPrefInt class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class EditorPrefInt : EditorPref<int>
Inheritance
  • System.Object
  • EditorPref<System.Int32>
  • EditorPrefInt

Constructors

EditorPrefInt(String, Int32)
public EditorPrefInt(string key, int defaultValue)
Parameters
System.String key

System.Int32 defaultValue

Methods

GetValue(String, Int32)
protected override int GetValue(string key, int defaultValue)
Parameters
System.String key

System.Int32 defaultValue

Returns
System.Int32

SetValue(String, Int32)
protected override void SetValue(string key, int value)
Parameters
System.String key

System.Int32 value