46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
|
|
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();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|