Search
Programming languages
Home
C#
How to destroy a gameobject in c#
Code examples
2
0
how to destroy a gameobject in c#
Destroy(gameObject); // destroys the game object attached to the script
Similar pages
Similar pages with examples
destroy gameobject unity
how to destroy game objects in unity c#
In other languages
This page is in other languages
empty row
Русский
..................................................................................................................
Ссылка
Italiano
..................................................................................................................
Link
Polski
..................................................................................................................
Link
Română
..................................................................................................................
Legătură
한국어
..................................................................................................................
링크
हिन्दी
..................................................................................................................
लिंक
Français
..................................................................................................................
Lien
Türk
..................................................................................................................
Atıf
Česk
..................................................................................................................
Odka
Português
..................................................................................................................
Referênci
ไทย
..................................................................................................................
เชื่อมโยง
中文
..................................................................................................................
链接
Español
..................................................................................................................
Referencia
Slovenský
..................................................................................................................
Odkaz
Балгарскі
..................................................................................................................
Спасылка
Íslensk
..................................................................................................................
Link
Popular in the category
Popular pages with examples in the category
empty row
unity return coroutine
how to make a singleton in unity
unity get current activity
unity onclick addlistener
qr code generate
unity limit rigidbody velocity
unity rigidbody rotation force
rigidbody2d settins unity
unity set velocity magnitude
unity how to modify velocity
rigidbody set velocity
unity rigidbody speed scale
find the relative velocity of a rigidbody in unity
GetComponent<Rigidbody>().velocity.magnitude
how to get the force that is being applied to a rigidbody in unity
player isnt moving based on rotation unity velocity rigidbody