How To Make Respawn in Unity 3D

How To Make Respawn in Unity 3D

Code Cyber

2 года назад

13,291 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@tomtown3340
@tomtown3340 - 25.07.2023 16:34

Thank you, works well and was easy and simple to follow! No bs, just straight to the point :)

Ответить
@Milky3D
@Milky3D - 22.06.2023 02:48

does not work

Ответить
@MasterM12345
@MasterM12345 - 23.03.2023 17:42

bro types like 1 word per hour

Ответить
@kozmobotgames
@kozmobotgames - 04.02.2023 12:55

This is not working on Character Controller. PLEASE HELP!!!!

Ответить
@olzug
@olzug - 20.01.2023 23:45

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Detector : MonoBehaviour
{

[SerializeField] GameObject player;
[SerializeField] Transform spawnPoint;
[SerializeField] float spawnValue;

// Update is called once per frame
void Update()
{
if(player.transform.position.y < -spawnValue)
{
RespawnPoint();
}
}

void RespawnPoint()
{
transform.position = spawnPoint.position;
}

}

Ответить
@rudikrasna6846
@rudikrasna6846 - 30.12.2022 23:56

you suprized me. thank you so much

Ответить
@tsa_kleinmar844
@tsa_kleinmar844 - 21.11.2022 00:14

Hi code cyber i did exactly this and when i fall off i respawn but i glitch through the platform and then i have a loop of respawning how can i fix this

Ответить
@tomgotte5739
@tomgotte5739 - 04.11.2022 21:35

can you please copy the code in the comments next time

Ответить
@GoldhollowStudios
@GoldhollowStudios - 12.09.2022 17:51

Uhm Can Someone add The code he wrote In the comments?
because I Cannot for some reason Copy it properly
There is always a Error.

Ответить
@suryaprakash9083
@suryaprakash9083 - 29.05.2022 03:38

How to create on button click Respawn gameobject

Ответить
@Dragon-nt6jg
@Dragon-nt6jg - 06.05.2022 03:42

I have a question i am on a mac and it does not show any of the values

Ответить
@MuhammadBilal-po5yz
@MuhammadBilal-po5yz - 01.05.2022 14:18

Thank you so much. you saved me

Ответить
@yasinlk6568
@yasinlk6568 - 28.03.2022 10:06

nice

Ответить
@EhZartyx
@EhZartyx - 28.11.2021 21:04

nice job !

Ответить
@coz6518
@coz6518 - 05.10.2021 23:00

This tutorial goes well with the teleport vid!

Ответить