Day 3 and 4 — Shooting Tic-tac's and Spawning Cubes

My Laser Object — The TicTac
The Player’s Shoot method

Enemy Spawning and Waves:

My Wave Scriptable Object
  1. I have a List of my Wave scriptable object.
  2. I decided to get Object Pooling up and running for this. Object pooling is a way to keep objects without having to constantly create new ones after destroying them. You keep them in the engine and have quicker access to them because they won’t have to be created anew when needed.
3 Enemies in the pool

--

--

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