42 lines
943 B
C#
42 lines
943 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Shoot122Manager : MonoBehaviour
|
|
{
|
|
public static Shoot122Manager Instance { get; private set; }
|
|
|
|
public Animation animation_122;
|
|
public GameObject rawImage_122;
|
|
public GameObject penguan;
|
|
public List<string> chooseShoot=new List<string>();
|
|
public Control3DModelBt 保险;
|
|
private void Awake()
|
|
{
|
|
|
|
Instance = this;
|
|
isShoot = false;
|
|
}
|
|
|
|
public bool isShoot;
|
|
// Start is called before the first frame update
|
|
|
|
|
|
public void Jifa()
|
|
{
|
|
if (isShoot|| !保险.isInit)
|
|
return;
|
|
rawImage_122.SetActive(true);
|
|
isShoot =true;
|
|
animation_122.Play();
|
|
penguan.SetActive(true);
|
|
|
|
}
|
|
|
|
public void DiaoPaoOver()
|
|
{
|
|
if (Manager122Base.instance != null)
|
|
Manager122Base.instance.Show122DwonMsg("高低到位,方位到位");
|
|
}
|
|
}
|