FastArena/Assets/Entities/Spawnable.cs
2025-07-09 21:15:31 +03:00

12 lines
250 B
C#

using UnityEngine;
namespace FastArena
{
public class Spawnable : MonoBehaviour
{
public void Spawn(Vector3 coords, Quaternion rotation)
{
Instantiate(gameObject, coords, rotation);
}
}
}