Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PlayerDrop
SelfDestruct
PlayerDrop.SelfDestruct C# (CSharp) Method
PlayerDrop Class Documentation
Show file
Open project: Gamieon/PaperCowboys
SelfDestruct()
public
method
Called when the drop has been on the ground so long that it must be removed automatically. We can't just leave these in the scene forever.
public
SelfDestruct
( ) :
void
return
void
void SelfDestruct() { Destroy(gameObject); }
PlayerDrop
FixedUpdate
GiveAmmoDropToPlayer
GiveCowboyHatToPlayer
GiveDropToPlayer
GiveMouthpieceToPlayer
GiveWeaponDropToPlayer
SelfDestruct
Start