mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/MI-38.git
synced 2026-01-24 01:15:41 +03:00
23 lines
411 B
C#
23 lines
411 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class HLightParent : MonoBehaviour
|
|
{
|
|
private HlightBtn arrow;
|
|
|
|
private void Awake()
|
|
{
|
|
arrow = transform.GetComponentInParent<HlightBtn>();
|
|
|
|
}
|
|
public void OnMouseEnter()
|
|
{
|
|
arrow.OnMouseEnter();
|
|
}
|
|
public void OnMouseExit()
|
|
{
|
|
arrow.OnMouseExit();
|
|
}
|
|
}
|