C#C
C#11h ago
Gooberda1

✅ why am I getting this error?

idk what had happened

using UnityEngine;

public class spawn : MonoBehaviour
{
    public GameObject prefab;
    

    void Start()
    {
        Instantiate(prefab, Vector3, Quaternion.identity);
    }
}
image.png
Was this page helpful?