TextAsset
Object
TextAsset

class:/TYPE/UnityEngine.TextAsset//, can be loaded from an assetbundle using TextAsset::createfromassetbundle(bundlename,prefabname) /

Parent

Object

Variables
bytes
readonly System.Byte[] bytes
datasize
readonly System.Int64 datasize
text
readonly System.String text
Functions
textasset::​create
static UnityEngine.TextAsset Create (
System.String text
)

Constructor replaces new;

Parameters
text
System.String

no description

Returns

UnityEngine.TextAsset

textasset::​create
static UnityEngine.TextAsset Create ()

Constructor replaces new;

Returns

UnityEngine.TextAsset

textasset::​fromassetbundle
static UnityEngine.TextAsset CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.TextAsset

tostring
System.String ToString()
Returns

System.String