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.

40 lines
706 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PanDing74 : MonoBehaviour
{
public GameObject gb;
public GameObject gb2;
public DuoXuan dx;
public static int b;
private string a="7";
public void panding()
{
if (gb.activeSelf)
{
b = 0;
dx.[0] = b;
}
else
{
b = 1;
dx.[0] = b;
}
}
public void panding2()
{
dx.[1] = 0;
}
public void panding1()
{
dx.[0] = b;
}
public void remake()
{
b = 0;
Application.LoadLevel("Level07");
}
}