12345678910111213141516171819202122232425 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
-
- public class Gif_gr3 : MonoBehaviour
- {
- public GameObject 詳細;
- // Start is called before the first frame update
- void Start()
- {
-
- }
-
- // Update is called once per frame
- void Update()
- {
- if(詳細.activeInHierarchy){
- if(Main.Global.電表異常BL[Main.Global.詳細電表電表ID]==true){
- GetComponent<Animator>().SetBool("有異常",true);
- }else{
- GetComponent<Animator>().SetBool("有異常",false);
- }
- }
- }
- }
|