HeavenStudioPlus/Assets/Scripts/WTF.cs

21 lines
466 B
C#
Raw Normal View History

2021-12-19 04:10:43 +00:00
using UnityEngine;
2021-12-21 01:10:49 +00:00
// this is a script for testing
using RhythmHeavenMania.Editor;
2021-12-21 01:10:49 +00:00
namespace RhythmHeavenMania.Tests
2021-12-19 04:10:43 +00:00
{
2021-12-21 01:10:49 +00:00
public class WTF : MonoBehaviour
2021-12-19 04:10:43 +00:00
{
public GameObject test;
private void Update()
2021-12-21 01:10:49 +00:00
{
if (Input.GetKeyDown(KeyCode.Z))
{
GetComponent<CommandManager>().Execute(new TestCommand(test, new Vector3(Random.Range(-8f, 8f), Random.Range(-6f, 6f))));
}
2021-12-21 01:10:49 +00:00
}
}
2021-12-21 01:10:49 +00:00
}