unity turn script on and off code example Example: how to turn off scrips in unity this.enabled = false;