Add Create Prefab At Position Unity Code Example


Example 1: Unity C# instantiate prefab

Instantiate(myPrefab, new Vector3(0, 0, 0), Quaternion.identity);

Example 2: unity instantiate prefab

Instantiate(cube, Vector3 (x, y, 0), Quaternion.identity);

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable