Version 3.3.1.0

ProjectSettingAssetRef<T> class

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public sealed class ProjectSettingAssetRef<T> : ProjectSetting<T>, IProjectSetting where T : Object
Inheritance

Type Parameters

T

Constructors

ProjectSettingAssetRef()
public ProjectSettingAssetRef()

Methods

Draw(Rect, T, GUIContent)
protected override T Draw(Rect rect, T asset, GUIContent label)
Parameters
UnityEngine.Rect rect

T asset

UnityEngine.GUIContent label

Returns
T

GetLocalValue(String, T)
protected override T GetLocalValue(string key, T asset)
Parameters
System.String key

T asset

Returns
T

SetLocalValue(String, T)
protected override void SetLocalValue(string key, T asset)
Parameters
System.String key

T asset