public override void stop() { if (!this.isBroken) { this.isBroken = true; this.timer = this.timeToFix; machineTimerBar.initBar(2.1f, 1.7f); animator.SetBool("FurnaceIsBroken", true); } }
public override void stop() { if (!this.isBroken) { this.isBroken = true; this.Reset(); this.timer = this.timeToFix; machineTimerBar.initBar(2.1f, 1.7f); GetComponent <SpriteRenderer>().sprite = spriteValveBroken; } }
public override void stop() { if (!this.isBroken) { this.isBroken = true; this.Reset(); this.timer = this.timeToFix; machineTimerBar.initBar(2.1f, 1.7f); transform.Find("SteamAnimationGameObject").gameObject.SetActive(true); //GetComponent<SpriteRenderer>().sprite = spritePipeBroken; } }