public IEnumerator KillGame() { yield return(new WaitForSeconds(10)); PlaneControlScript plane = GameObject.FindObjectOfType <PlaneControlScript>(); MyCore.NetDestroyObject(plane.NetId); MyCore.UI_Quit(); }
public void Quit() { MyCore.UI_Quit(); }