Run-and-capture/Assets/Scripts/SpawnHelper.cs
2022-01-13 22:58:54 +03:00

12 lines
269 B
C#

using UnityEngine;
namespace DefaultNamespace
{
public static class SpawnHelper
{
public static GameObject Spawn(GameObject gameObject, Vector3 pos)
{
return Object.Instantiate(gameObject, pos, Quaternion.identity);
}
}
}