/// <summary> /// Deactivates all objects along it's network /// </summary> public override void Deactivate() { powered = false; animator.SetTrigger("Toggled"); network.Deactivate(); }
/// <summary> /// Deactivates all objects along it's network /// </summary> public override void Deactivate() { powered = false; animator.SetBool("Powered", powered); network.Deactivate(); }