You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
677 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LzFramework;
namespace DisComputer
{
/*
* @func 调试输出控制器
* @author lz
* @date 2020/07/10
*/
public class LzLogger : Singleton<LzLogger>
{
public bool isDebug = true;
// Start is called before the first frame update
void Start()
{
}
/// <summary>
/// 输出
/// </summary>
/// <param name="str"></param>
public void LogFormat(string str)
{
if (isDebug)
{
Debug.LogFormat(str);
}
}
}
}