17 lines
333 B
C#
17 lines
333 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TipShow : BaseShow
|
|
{
|
|
private void OnTriggerEnter(Collider other)
|
|
{
|
|
TipPlayerEx.Instance.ShowTip(info);
|
|
}
|
|
|
|
private void OnTriggerExit(Collider other)
|
|
{
|
|
TipPlayerEx.Instance.HideTip();
|
|
}
|
|
} |