12 lines
235 B
C#
12 lines
235 B
C#
using UnityEngine;
|
|
|
|
public class EMUI_Animations : MonoBehaviour
|
|
{
|
|
public void ToggleFadeIn()
|
|
{
|
|
Animator component = GetComponent<Animator>();
|
|
bool value = !component.GetBool("fadeIn");
|
|
component.SetBool("fadeIn", value);
|
|
}
|
|
}
|