Disable one script to run another unity code example Example: how to turn off scrips in unity this.enabled = false;