Iman Dashtpeyma 044e14aac7 Fix UDP
2025-06-04 17:38:16 +02:00

16 lines
325 B
C#

using UnityEngine;
public class TestSpawner : MonoBehaviour
{
public GameObject testCube;
void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
Instantiate(testCube, new Vector3(0, 1, 2), Quaternion.identity);
Debug.Log("Spawned test cube manually.");
}
}
}