com.guru.unity.sdk.core/Runtime/Debugger/Samples/DebugDemo.cs

26 lines
483 B
C#

using System.Collections;
using System.Collections.Generic;
using Guru;
using UnityEngine;
public class DebugDemo : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debugger.Init();
Debugger.Instance.AddOption("INFO/page1", "DebugDemo")
.AddButton("AAA", () =>
{
Debug.Log("AAA");
})
.AddLabel("Test");
Debugger.Show();
}
}