Day 13 | Spawning GameObjects w/o the Clutter in Unity

Parent Your Children

The Code

GameObject sphere = Instantiate(prefab, position, rotation);
sphere.transform.parent = _sphereContainerGObj;

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

AWS Step Function call back pattern using AWS Lambda

Architecture

CS373 Spring 2021 Week 6: Vishal Tak

How to scan vulnerabilities for Docker container images — Part2

Order from Chaos Pt.3

An Introduction to Apache Kafka

Data Structures and Algorithms in Ruby: Linked List

Ten Advantages of Managed Cloud Services Providers

Ten Advantages of Managed Cloud Services Providers

Project Management Knowledge: Spikes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ted Lim

Ted Lim

More from Medium

Creating a HUD (part 2)

ADDING SPEED BOOST POWERUP

Setting a professional Unity layout

Free assets to use with Unity