Home
Unity 3d / Java Tutorial
Rope Swing Script
Java Code -
Function
[Back]
Code:
//This call the function
gameover();
//This create the function that you will call
function gameover()
{
Destroy(gameObject);
}