void HyperSpace() { RigidbodyExt.Reset(rb); transform.position = Viewport.GetRandomWorldPositionXY(); transform.rotation = Quaternion.Euler(0, 0, Random.Range(1, 360)); hyperAudio.Play(); }
public void ResetRigidbody() { RigidbodyExt.Reset(GetComponent <Rigidbody>()); }