Class LlamaChatSettingsProvider
Singleton class to provide LlamaChatSettings. Note the first call is made SYNCHRONOUSLY to provide you an instance as soon as you request it. You should preload the LlamaChatSettings by calling Instance.LlamaChatSettings to avoid hiccups.
Inheritance
System.Object
LlamaChatSettingsProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LlamaSoftware.Chat
Assembly: LlamaSoftware.Chat.dll
Syntax
public class LlamaChatSettingsProvider
Properties
Instance
Singleton instance. Initializes a single instance of LlamaChatSettingsProvider if one is not already constructed. Instantiation also synchronously loads LlamaChatSettings using UnityEngine.Resources.Load(System.String).
Declaration
public static LlamaChatSettingsProvider Instance { get; }
Property Value
Type | Description |
---|---|
LlamaChatSettingsProvider |
LlamaChatSettings
Instance of the LlamaChatSettings Scriptable Object found at LLAMA_CHAT_SETTINGS_LOCATION
Declaration
public LlamaChatSettings LlamaChatSettings { get; }
Property Value
Type | Description |
---|---|
LlamaChatSettings |