19 lines
474 B
C#
Raw Normal View History

2025-09-08 14:51:28 +08:00
using UnityEngine;
using ZXKFramework;
public class VirtualCameraManager : MonoBehaviour
{
ModelChildShowOne cameraList;
public void Init()
{
cameraList = GetComponent<ModelChildShowOne>();
}
public void ShowCamera(string cameraName)
{
if(Game.Instance.operatingType == OperatingType.Touch ||
Game.Instance.operatingType == OperatingType.Hardware)
{
cameraList.ShowModel(cameraName);
}
}
}