Version: 2021.3
言語: 日本語

TextAssetConstructor

マニュアルに切り替える
public TextAsset (string text);

パラメーター

text The text contents for the TextAsset.

説明

Create a new TextAsset with the specified text contents.

This constructor creates a TextAsset, which is not the same as a plain text file. When saved to disk using the AssetDatabase class, the TextAsset should be saved with the .asset extension.