public void ResetCPU() { if (hack != null) { hack.ResetAll(); } if (secondaryHack != null) { secondaryHack.ResetAll(); } if (posPStore >= 0 && codePlayer[posPStore] != null) { Debug.Log("Clearing hack"); codePlayer[posPStore].ClearHack(OnStartCode, OnCancelCode, OnFinishCode); codePlayer[posPStore].CancelAllCoding(); } anim.Rebind(); audio.Stop(); isHacked = false; isIn = false; }