21 lines
384 B
C#
21 lines
384 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class RuntimeLog : MonoBehaviour
|
|
{
|
|
static RuntimeLog instance;
|
|
public static RuntimeLog Instance;
|
|
public Text logText;
|
|
|
|
private void Awake() {
|
|
Instance = this;
|
|
}
|
|
|
|
public void AddLog(string log)
|
|
{
|
|
//logText.text +=log+"\n";
|
|
}
|
|
}
|