Unity 2D Game Basics - Setting up Interactable Objects - Picking up Objects

Опубликовано: 16 Июнь 2026
на канале: Scripting Is Fun
23,687
409

In this video we will look at how to setup objects in our game so that we can interact with them.

Topics Covered:
Trigger Colliders
OnTriggerEnter2D
OnTriggerExit2D

Timestamps
:15 Overview of what we want to accomplish in this video
1:00 The Interaction Object Script
2:00 Setting up the key in Unity
4:00 Creating the Player Interact script

Ligthning Bugs by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist: http://audionautix.com/