Unity: How to Delete Game Objects After a Set Amount of Time

Unity: How to Delete Game Objects After a Set Amount of Time

Gaming Tardigrade

3 года назад

6,441 Просмотров

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


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

@blake.goberr
@blake.goberr - 17.08.2021 19:00

Tardi do you remember me Im RifleRage1 from fn save the world you sound so different 🥺

Ответить
@kingcheese1053
@kingcheese1053 - 21.08.2021 21:42

After four months of waiting for a upload you finally upload :)

Ответить
@mr_potato5317
@mr_potato5317 - 25.09.2021 07:04

Hey I finally got that account to sub to you after a few years

Ответить
@Tryftz
@Tryftz - 21.02.2022 21:40

this helped me so much thank you

Ответить
@johneyre9493
@johneyre9493 - 30.11.2022 00:53

thanks man

Ответить
@jackcard4986
@jackcard4986 - 05.03.2023 17:59

CAN YOU PLEASE SHARE YOUR WALLRUNNING SCRIPT IT LOOKS SO COOL!

Ответить
@kvstmon
@kvstmon - 05.03.2023 23:44

I love how much effort was put into this, IT EVEN HAS SUBTITLES!!

Ответить
@Lottevdheijden77
@Lottevdheijden77 - 22.04.2023 21:50

is there a way to scale the object before destroying it?

Ответить
@EleonoraCostagliola-g8b
@EleonoraCostagliola-g8b - 06.03.2024 16:21

thank u for this video! how can I create an animation (to export to fbx) of my object after applying the script?

Ответить
@nelsonswitha_444
@nelsonswitha_444 - 20.06.2024 19:33

...this is just what i needed, and it works very well! Thank you very much!!!

Ответить
@khaledwaleed445
@khaledwaleed445 - 12.07.2024 17:57

THX

Ответить
@GamingTardigrade
@GamingTardigrade - 17.08.2021 19:05

Edit: or just type: Destroy(GameObjectToDestroy, Time to destroy eg 2f);


Copy and paste this if you need:
private void Awake()
{
StartCoroutine(waiter());
}

IEnumerator waiter()
{
yield return new WaitForSeconds(3);
Object.Destroy(this.gameObject);

Ответить