Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- public class TextAssetManager {
- public static List<string> TextToList(TextAsset textAsset)
- {
- List<string> textList = textAsset.text.Split("\n"[0]).ToList<string>();
- return textList;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement