Skip to content

Instantly share code, notes, and snippets.

@rkandas
Last active August 26, 2019 03:38
Show Gist options
  • Save rkandas/f5f4c0896f0b745467ba4ca7975a4633 to your computer and use it in GitHub Desktop.
Save rkandas/f5f4c0896f0b745467ba4ca7975a4633 to your computer and use it in GitHub Desktop.
public class AssetSpawner
{
public void createAGameObject()
{
GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube);
cube.name = "CubeOne";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment