initital initial commit

This commit is contained in:
Atlas48
2020-01-30 17:21:29 +00:00
parent 0d3c8a8320
commit 78ba7275ef
91 changed files with 10447 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/TextAsset")] public class TextAsset : ScriptableObject
{
public List<string> text;
public string all {
get {
string acc="";
foreach (string i in text) acc += i;
return acc;
}
set {
text = new List<string>(value.Split('\n'));
}
}
}