18 lines
429 B
C#
18 lines
429 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class table_base : MonoBehaviour
|
||
|
|
{
|
||
|
|
public TextAsset m_json;
|
||
|
|
|
||
|
|
protected string json_last;
|
||
|
|
protected bool LoadComplete = false;
|
||
|
|
|
||
|
|
protected virtual void Awake()
|
||
|
|
{
|
||
|
|
json_last = m_json.text;
|
||
|
|
Resources.UnloadAsset(m_json);
|
||
|
|
m_json = null;
|
||
|
|
}
|
||
|
|
protected virtual void Start() { LoadComplete = true; }
|
||
|
|
public bool Get_LoadComplete() { return LoadComplete; }
|
||
|
|
}
|