Комментарии:
Thank you, works well and was easy and simple to follow! No bs, just straight to the point :)
Ответитьdoes not work
Ответитьbro types like 1 word per hour
ОтветитьThis is not working on Character Controller. PLEASE HELP!!!!
Ответить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;
}
}
you suprized me. thank you so much
Ответить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
Ответитьcan you please copy the code in the comments next time
Ответить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.
How to create on button click Respawn gameobject
ОтветитьI have a question i am on a mac and it does not show any of the values
ОтветитьThank you so much. you saved me
Ответитьnice
Ответитьnice job !
ОтветитьThis tutorial goes well with the teleport vid!
Ответить