using System.Collections; using System.Collections.Generic; using UnityEngine; public class EquipToggleChange : BaseToggle { public override void RespondFun(bool value) { GetComponent().ControlPanel.gameObject.SetActive(value); } }