using System.Collections; using System.Collections.Generic; using UnityEngine; public class HLightParent : MonoBehaviour { private HlightBtn arrow; private void Awake() { arrow = transform.GetComponentInParent(); } public void OnMouseEnter() { arrow.OnMouseEnter(); } public void OnMouseExit() { arrow.OnMouseExit(); } }