46 lines
1.1 KiB
C#
Raw Normal View History

2025-03-11 16:24:25 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ZXKFramework
{
public class ModelChildShowOne : MonoBehaviour
{
ModelChildShowOneBase modelChildShowOneBase = new ModelChildShowOneBase();
void Awake()
{
modelChildShowOneBase.Init(transform);
}
public GameObject Next()
{
return modelChildShowOneBase.Next();
}
public GameObject Last()
{
return modelChildShowOneBase.Last();
}
public GameObject ShowModel(int index)
{
return modelChildShowOneBase.ShowModel(index);
}
public GameObject ShowModel(string objName)
{
return modelChildShowOneBase.ShowModel(objName);
}
public GameObject ShowModelNoCloseOther(string objName, bool isShow = true)
{
return modelChildShowOneBase.ShowModelNoCloseOther(objName, isShow);
}
public void CloseAllModel()
{
modelChildShowOneBase.CloseAllModel();
}
}
}