Class SessionState
Assembly: UnityEditor.dll
Syntax
public class SessionState
Constructors
|
Improve this Doc
View Source
SessionState()
Declaration
[ExcludeFromDocs]
public SessionState()
Methods
EraseBool(String)
Declaration
public static void EraseBool(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
EraseFloat(String)
Declaration
public static void EraseFloat(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
EraseInt(String)
Declaration
public static void EraseInt(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
EraseIntArray(String)
Declaration
public static void EraseIntArray(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
EraseString(String)
Declaration
public static void EraseString(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
EraseVector3(String)
Declaration
public static void EraseVector3(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
GetBool(String, Boolean)
Declaration
public static bool GetBool(string key, bool defaultValue)
Parameters
Returns
GetFloat(String, Single)
Declaration
public static float GetFloat(string key, float defaultValue)
Parameters
Returns
GetInt(String, Int32)
Declaration
public static int GetInt(string key, int defaultValue)
Parameters
Returns
GetIntArray(String, Int32[])
Declaration
public static int[] GetIntArray(string key, int[] defaultValue)
Parameters
Returns
GetString(String, String)
Declaration
public static string GetString(string key, string defaultValue)
Parameters
Returns
GetVector3(String, Vector3)
Declaration
public static Vector3 GetVector3(string key, Vector3 defaultValue)
Parameters
Returns
SetBool(String, Boolean)
Declaration
public static void SetBool(string key, bool value)
Parameters
SetFloat(String, Single)
Declaration
public static void SetFloat(string key, float value)
Parameters
SetInt(String, Int32)
Declaration
public static void SetInt(string key, int value)
Parameters
SetIntArray(String, Int32[])
Declaration
public static void SetIntArray(string key, int[] value)
Parameters
SetString(String, String)
Declaration
public static void SetString(string key, string value)
Parameters
SetVector3(String, Vector3)
Declaration
public static void SetVector3(string key, Vector3 value)
Parameters
Extension Methods