Sin descripción
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.

12345678910111213141516171819202122232425
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class Gif_gr3 : MonoBehaviour
  5. {
  6. public GameObject 詳細;
  7. // Start is called before the first frame update
  8. void Start()
  9. {
  10. }
  11. // Update is called once per frame
  12. void Update()
  13. {
  14. if(詳細.activeInHierarchy){
  15. if(Main.Global.電表異常BL[Main.Global.詳細電表電表ID]==true){
  16. GetComponent<Animator>().SetBool("有異常",true);
  17. }else{
  18. GetComponent<Animator>().SetBool("有異常",false);
  19. }
  20. }
  21. }
  22. }