You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
465 B
22 lines
465 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PanDing122 : MonoBehaviour
|
|
{
|
|
public GameObject[] button;
|
|
public PanDuan pd;
|
|
public Animator camAnimator;
|
|
private void Start()
|
|
{
|
|
camAnimator.SetTrigger("go3");
|
|
}
|
|
public void PanDingDing()
|
|
{
|
|
if (!button[0].activeSelf && button[1].activeSelf && button[2].activeSelf)
|
|
{
|
|
pd.SetOne(true);
|
|
}
|
|
}
|
|
}
|