Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
DestroyOnCollision
C# Class DestroyOnCollision, Viewport
Inheritance:
MonoBehaviour
ファイルを表示
Open project: tws2xa/Viewport
Class Usage Examples
Public Properties
Property
Type
Description
destroyTags
List
Public Methods
Method
Description
OnCollisionEnter
(
Collision
collision
) :
void
Method Details
OnCollisionEnter()
public
method
public
OnCollisionEnter
(
Collision
collision
) :
void
collision
Collision
return
void
Property Details
destroyTags
public_oe property
This list contains all destroy trigger tags. If the object collides with anything that has one of these tags, it will be destroyed. Otherwise, it will not be destroyed.
public
List
destroyTags
return
List