20 lines
474 B
C#
20 lines
474 B
C#
using UnityEngine;
|
|
using ZXKFramework;
|
|
|
|
namespace YiLiao.SiBuChuZhen
|
|
{
|
|
public class ArrowHide : MonoBehaviour
|
|
{
|
|
private void OnEnable()
|
|
{
|
|
if(MVC.GetModel<Main.GameModel>().modeType == ModeType.KaoHe)
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
if (MVC.GetModel<Main.GameModel>().modeType == ModeType.ShiXun)
|
|
{
|
|
gameObject.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
} |