Search Results for

    Show / Hide Table of Contents

    Class StringOrTextAsset

    Inheritance
    object
    StringOrTextAsset
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    [Serializable]
    [MovedFrom(true, "Glitch9.AIDevKit", "Glitch9.AIDevKit", "StringOrTextAsset")]
    public sealed class StringOrTextAsset

    Fields

    | Edit this page View Source

    IsTextAsset

    Declaration
    [SerializeField]
    public bool IsTextAsset
    Field Value
    Type Description
    bool
    | Edit this page View Source

    Text

    Declaration
    [SerializeField]
    public string Text
    Field Value
    Type Description
    string
    | Edit this page View Source

    TextAsset

    Declaration
    [SerializeField]
    public TextAsset TextAsset
    Field Value
    Type Description
    TextAsset

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Operators

    | Edit this page View Source

    implicit operator string(StringOrTextAsset)

    Declaration
    public static implicit operator string(StringOrTextAsset conditionalTextAsset)
    Parameters
    Type Name Description
    StringOrTextAsset conditionalTextAsset
    Returns
    Type Description
    string
    | Edit this page View Source

    implicit operator StringOrTextAsset(string)

    Declaration
    public static implicit operator StringOrTextAsset(string text)
    Parameters
    Type Name Description
    string text
    Returns
    Type Description
    StringOrTextAsset

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    StringOrTextAssetExtensions.GetText(StringOrTextAsset)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation