HeavenStudioPlus/Assets/Scripts/WTF.cs

21 lines
456 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
2022-03-14 14:21:05 +00:00
using HeavenStudio.Editor;
2022-03-14 14:21:05 +00:00
namespace HeavenStudio.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
}