// Use this for initialization void Start() { //Assign the MainController script as this mscInstance = this; //Initialize flag bShieldActive = false; }