In this video, we will define the behavior of our laser prefab. Whenever the laser prefab is instantiated, it should start moving in the upward direction automatically, and it should also start spawning from the player's exact location. We will learn more about transform.translate and the Instantiate() method in Unity.
VID15# How To Define The Behaviour Of Our Laser Prefab | Unity Tutorial In Hindi