Answers for "get instantiated objects prefab unity"

C#
8

unity instantiate prefab

Instantiate(cube, Vector3 (x, y, 0), Quaternion.identity);
Posted by: Guest on February-24-2020
0

instantiate prefab unity

using UnityEngine;
using System.Collections;

public class Instantiate_example : MonoBehaviour 
{ 
  public Transform prefab;
  void Start() 
  { 
     Instantiate(prefab, new Vector3(2.0F, 0, 0), Quaternion.identity);
  } 
}
Posted by: Guest on January-10-2022

Code answers related to "get instantiated objects prefab unity"

C# Answers by Framework

Browse Popular Code Answers by Language