Kizspy Question: 3
(Choose 1 answer)
What does this script do?
using UnityEngine;
public class InstantiateExample: MonoBehaviour {
public GameObject prefab;
void Start() {
}
Instantiate(prefab, new Vector3(0, 0, 0), Quaternion.identity);
A. Deletes a GameObject
B. Creates new instance of a prefab
C. Moves the prefab
D. Scales the prefab