RuralPowerCompetition_yizhe.../RuralPowerCompetition_yizheng1/Assets/Zion/Scripts/Scenes/SkipAnimWhileRecover.cs

17 lines
364 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SkipAnimWhileRecover : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
if (GameManage.skipCaiAnim == true)
{
transform.GetChild(0).gameObject.SetActive(true);
}
}
}