using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Suojin : MonoBehaviour
{
private float zz;
//鼠标按下Z轴变量
private float xRotation;
//public GameObject suo;
private bool isStop = false;
//松紧显示板
public Image jin;
private GameObject imageSong;
private GameObject imageJin;
private GameObject btn;
public GameObject tong;
void Start()
{
zz = 0f;
//松紧显示不可见
jin.gameObject.SetActive(false);
//找到松紧板
imageJin = jin.transform.Find("Image Jin").gameObject ;
imageSong = jin.transform.Find("Image Song").gameObject;
btn = jin.transform.Find("Button")
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Suojin : MonoBehaviour
{
private float zz;
//鼠标按下Z轴变量
private float xRotation;
//public GameObject suo;
private bool isStop = false;
//松紧显示板
public Image jin;
private GameObject imageSong;
private GameObject imageJin;
private GameObject btn;
public GameObject tong;
void Start()
{
zz = 0f;
//松紧显示不可见
jin.gameObject.SetActive(false);
//找到松紧板
imageJin = jin.transform.Find("Image Jin").gameObject ;
imageSong = jin.transform.Find("Image Song").gameObject;
btn = jin.transform.Find("Button")