25 lines
426 B
C#
25 lines
426 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ItemViewer : MonoBehaviour
|
|
{
|
|
public Camera viewerCamera;
|
|
public GameObject cameraHolder;
|
|
|
|
public void OpenCamera()
|
|
{
|
|
viewerCamera.gameObject.SetActive(true);
|
|
}
|
|
|
|
public void CloseCamera()
|
|
{
|
|
viewerCamera.gameObject.SetActive(false);
|
|
}
|
|
|
|
public void Update()
|
|
{
|
|
|
|
}
|
|
}
|