Advertisemen
Unity3D Turtorial: 28 Destroy-Everything
+
Announcement
THIS IS Java# script: GOOD 4 2D GAMES AND 3D GAMES !
--------------------------------------------------------------------------------------
DIRECT DOWNLOAD HERE
THIS IS BACKUP IN TEXT FORM TUTORIAL 28
1. Create New java and name it : DestroyEverything
2. Copy & Past this text and save java :
---------------------------------------------------------------------------------
#pragma strict
// Destroy everything that enters the trigger
function OnTriggerEnter (other : Collider) {
Destroy(other.gameObject);
}
---------------------------------------------------------------------------------
Advertisemen
Tidak ada komentar:
Posting Komentar