public System.IAsyncResult Begindestroy(destroy destroy, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("destroy", new object[] { destroy}, callback, asyncState); }
private void Start() { destroyscript = FindObjectOfType <destroy>(); }