CultivationOfBrewing-2/Assets/Scripts/LiveSceneManger.cs

35 lines
648 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LiveSceneManger : MonoBehaviour
{
public static LiveSceneManger Instance;
//任务头顶按钮
public Button TipBtn;
//正常植株相机
public Camera CameraZC;
//病株相机
public Camera CameraBZ;
public CameraOrbit A;
public CameraOrbitS B;
// Start is called before the first frame update
private void Awake()
{
Instance = this;
}
void Start()
{
TipBtn.onClick.AddListener(() =>
{
TipBtn.gameObject.SetActive(false);
});
}
}