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-01-22 10:44:19 +00:00
|
|
|
|
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
|
|
|
{
|
2022-01-22 10:44:19 +00:00
|
|
|
public GameObject test;
|
|
|
|
|
2021-12-28 02:36:27 +00:00
|
|
|
private void Update()
|
2021-12-21 01:10:49 +00:00
|
|
|
{
|
2022-01-22 10:44:19 +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-27 04:48:39 +00:00
|
|
|
}
|
2021-12-21 01:10:49 +00:00
|
|
|
}
|