unity3d disable script c# code example Example: how to turn off scrips in unity this.enabled = false;