I need the game to start running when player click Play button. I managed how to remove the button itself with
Blockquote
void Update () {
if (Input.GetMouseButton (0))
Destroy (this.gameObject);
}
But i don’t know how to do so, that this triggers the start of the game ( like you clicked play in editor ) , and also how to make sure that this will work only when players click button itself.