public static SpawnGameObject ( string objectPath, Vector3 position = newVector3(), Quaternion rotation = newQuaternion() ) : GameObject | ||
objectPath | string | path of the game object |
position | Vector3 | position of the game object spawn |
rotation | Quaternion | rotation of the game object spawn |
return | GameObject |