Table of Contents

Class StringOrTextAsset

Namespace
Glitch9.AIDevKit
[Serializable]
public class StringOrTextAsset
Inheritance
object
StringOrTextAsset
Extension Methods

Fields

IsTextAsset

public bool IsTextAsset

Field Value

bool

Text

public string Text

Field Value

string

TextAsset

public TextAsset TextAsset

Field Value

TextAsset

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator string(StringOrTextAsset)

public static implicit operator string(StringOrTextAsset conditionalTextAsset)

Parameters

conditionalTextAsset StringOrTextAsset

Returns

string

implicit operator StringOrTextAsset(string)

public static implicit operator StringOrTextAsset(string text)

Parameters

text string

Returns

StringOrTextAsset