DontDestroyOnLoad переносит меня на теже координаты в сцене
Я хочу чтобы при нажатии кнопки на клавиатуре меня переносило на другую сцену с этим проблем не возникло но когда я попытался перенести туда своего персонажа чтоб не потерять его дочерние объекты,скрипты и статистику у меня начали появляться проблемы мой персонаж не хотел появлятся на заданной мной точке
How to do a list for move towards(enemy)
I have a script for enemy and i and like to make a list of points, where enemy can go.
Why does the player gameObject continue moving in mid-air, despite no movement keys being pressed?
I’m making a 2D game in Unity where the player is able to jump and walk left or right. The player should be able to change directions while mid-air, but the problem is that they continue to move in the direction they were moving while jumping, despite no longer pressing the movement key. Here’s the […]
How to make weapon only rotate on the Z axis and not around the player?
relatively new to game dev and have these scripts. works perfectly as intended but further into development decided that I no longer wanted the gun to rotate around the player and instead just to stay in one spot but rotate on the Z axis. Below I have my shooting script to control the weapon and bullet script to control the bullet.