Devlogs
Posted May 14, 2025 by SeokwonH
I attached two game objects above and below the enemy. When the upper game object collides with an object tagged “ground,” the enemy moves downward, and when the lower game object collides, the enemy moves upward.