using UnityEngine; public class PC_ShowHideEvent : MonoBehaviour,IHide,IShow { public void Hide() { gameObject.SetActive(false); if(TryGetComponent(out PC_HandModel handModel)) { handModel.SetLeftHandModel(false); handModel.SetRightHandModel(false); } } public void Show() { gameObject.SetActive(true); } }