public class NewBehaviourScript : MonoBehaviour
{
[SerializeField]
private Text dataText;
[SerializeField]
private TextAsset textAsset;
private string loadText2;
private string[] splitText2;
private int textNum2;//
// Start is called before the first frame update
void Start()
{
loadText2 = (Resources.Load("Test", typeof(TextAsset)) as TextAsset).text;
splitText2 = loadText2.Split(new string[] { "@br", "キ" }, System.StringSplitOptions.None);
textNum2 = 0;
dataText.text = "";
Debug.Log("現在の文章は" + splitText2[1] + "です");
}
【ゲームエンジン】Unityなんでも質問スレpart3
レス数が950を超えています。1000を超えると書き込みができなくなります。
961名前は開発中のものです。
2021/04/19(月) 03:21:01.44ID:9UmQ5f3wレス数が950を超えています。1000を超えると書き込みができなくなります。
