mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/MI-38.git
synced 2026-01-24 05:35:38 +03:00
04.07.2022
This commit is contained in:
22
Heli_with_panels/Assets/Scripts/Panel2D/0115/HLightParent.cs
Normal file
22
Heli_with_panels/Assets/Scripts/Panel2D/0115/HLightParent.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user