chore: initial commit

This commit is contained in:
2026-05-08 11:04:00 +08:00
commit f55d2a57c3
6278 changed files with 866081 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
using UnityEngine;
#if MM_UI
namespace MoreMountains.Tools
{
/// <summary>
/// A simple test class used in the MMDebugMenu demo scene to shake a few values and output them in the debug on screen console
/// </summary>
[AddComponentMenu("")]
public class MMDebugMenuTestClass : MonoBehaviour
{
/// a label to display
public string Label;
private float multiplier;
/// <summary>
/// On starts, randomizes a multiplier
/// </summary>
private void Start()
{
multiplier = Random.Range(0f, 50000f);
}
/// <summary>
/// On update, outputs a text on screen
/// </summary>
void Update()
{
float test = (Mathf.Sin(Time.time) + 2) * multiplier;
MMDebug.DebugOnScreen(Label, test);
}
}
}
#endif